- This topic has 3 replies, 2 voices, and was last updated 13 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › Positioning of buttons in fancy 5 shortcode
Hello everybody,
First of all a big thank you, after testing various shopping cart plugins, this one worked from the beginning, very easy to install. Great work!
I did some CSS customizations based on the fancy 5 short code from the estore extra short code plugin. All good, but I would like to know where are the html files located to change the positioning of the different buttons. To be exactly I would like to know how to change the order of the “buy now” (“Jetzt kaufen” in German) and the details button. Furthermore I want to delete the line break between them. For your reference, here is the page how it looks right now: http://blog-werkstatt.eu/produkte/
I already used Firebug, but I could not find the button code for the html files, would be good if someone can help.
Thanks in advance!
Best regards
Tobias
Look inside the following function in the “shortcode_include.php” file of the extra shortcodes plugin:
show_wp_eStore_fancy5
Hello,
OK, thanks.I’m getting closer…
I organized the line break, it was in the css code.
But to re-order the elements, I’m a bit confused.
Where do I have exactly to modify? It would be great if you could mention the line of code, where the output of the buy button is. I only could find the thumbnail, body, description product name and the price.
Much appreciated.
Thanks.
Depending on which type of button you are using (add to cart, buy now or subscription), it will be one of the following 3 functions. These functions can be found in the “eStore_misc_functions.php” file of the eStore plugin:
– get_button_code_for_element
– print_eStore_buy_now_button
– print_eStore_subscribe_button_form