- This topic has 6 replies, 2 voices, and was last updated 14 years, 9 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 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 the digital variation dropdown menu
Is it possible to move the digital variation dropdown menu in relationship to the “buy now “button?
Thanks for any help.
Not sure I understand your requirement fully… please explain a bit more if you can.
Sure, sorry about that. If you look here: [http://munsongmusic.com/adult-contemporary/cocktail-alley/cocktail-alley-full-track/]
I have the “Add To Cart” button and the digital variation in two spots. Not sure where I will put it. If you look at the first instance, the text “License Type” and the drop down menu is above and to the right of the “Add To Cart” button. I would like to be able to align it to the right or left, alongside the “Add To Cart” button.
Thanks for your help.
Art
By default the plugin will try to fit the “Variation Text” and the “Variation Options” in the same line but in your case the table column seems to be too narrow for this so it’s automatically putting them in two lines.
You should be able to modify the file “eStore_button_display_helper.php” to meet your needs.
But the first instance in that link is not in a table and that’s what I was referring to. The variation text and drop down menu align but I would like it to align with the “Add To Cart” button also. Currently the “Add To Cart” button is positioned under “License Type”. I had looked in eStore_button_display_helper.php prior to posting but could not figure out how to fix it.
Look for the following function in the “eStore_misc_functions.php” file
function get_button_code_for_element($ret_product,$line_break=true)
Find the following line inside the above mentioned function:
$var_output = get_variation_and_input_code($ret_product,$line_break);
change that to the following:
$var_output = get_variation_and_input_code($ret_product,false);
This should put the button and the variation fields on the same line
Hmmm, that didn’t fix it. I’m going to pass on this idea so don’t worry about it. Thanks for a great plug-in and great support!