- This topic has 5 replies, 3 voices, and was last updated 12 years, 11 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › moving "add to cart" button on [wp_eStore:product_id:4:end]
Hi all again,
Further from my previous post for moving the “add to cart” button on the fancy 2 template, now I’d like to move the button when using the [wp_eStore:product_id:4:end] shortcode.
This time, I’d like the variant to appear on the same line as the “add to cart” button. Example:
[variant name]: [variant drop down box] [add to cart]
Currently the “add to cart” button is on the next line.
How can i get it on the same line?
Thanks
Graham
“Further from my previous post” – can you please post a link to this previous post so I can read up on that and catch up?
Hi
Yes – the previous post is here:
it was answered by Peter.
Thanks
GRaham
Hi Graham,
I had a go myself and it became too messy
Maybe you could try this:
https://support.tipsandtricks-hq.com/forums/topic/how-to-change-position-of-add-to-cart-button
If that doesn’t work, let’s see what Admin suggests
Change the following line
$var_output = get_variation_and_input_code($ret_product,$line_break);
To the following:
$var_output = get_variation_and_input_code($ret_product,false);
Thanks again – that worked and I’ve got the display that I’m wanting.
BTW – I’m really impressed with the service on this forum.
Thanks
Graham