Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Moving the digital variation dropdown menu
- This topic has 6 replies, 2 voices, and was last updated 15 years, 10 months ago by
Art Munson.
-
AuthorPosts
-
February 6, 2010 at 12:33 am #747
Art Munson
SpectatorIs it possible to move the digital variation dropdown menu in relationship to the “buy now “button?
Thanks for any help.
February 6, 2010 at 2:17 am #17776amin007
ParticipantNot sure I understand your requirement fully… please explain a bit more if you can.
February 6, 2010 at 5:22 am #17777Art Munson
SpectatorSure, 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
February 6, 2010 at 9:28 am #17778amin007
ParticipantBy 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.
February 6, 2010 at 4:35 pm #17779Art Munson
SpectatorBut 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.
February 7, 2010 at 1:56 am #17780amin007
ParticipantLook 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
February 7, 2010 at 5:52 pm #17781Art Munson
SpectatorHmmm, 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!
-
AuthorPosts
- You must be logged in to reply to this topic.