November 2, 2012 at 2:40 pm #16023
Can you tell me which file i need to edit to move my product variables to the right hand column.
I’d like them and the ‘add to cart’ button to appear after the description.
ToddNovember 4, 2012 at 3:13 am #89839November 8, 2012 at 9:56 am #89840
sorry I forgot all about this post. Yes, exactly like that.
ToddNovember 8, 2012 at 6:31 pm #89841
You are using version 1.32 of Propulsion while the current version is 1.7 – Please go to Themeforest, login with the account you used to purchase the theme and upgrade to the current version. Please be aware that the upgrade will overwrite your entire theme folder including custom.css, so make a backup copy if you made any customizations to the files. Quick CSS is not affected by the update. When you updated, please let me know so we can proceed. I don’t have that version and a lot of things were updated since your version.
NickNovember 9, 2012 at 9:14 am #89842
cool, thanks for the response. I have a test version of the site Im working on at http://www.t2design.net/slut-test/shop/comeback-tour-2/
This has been updated to version 1.7.
Im happy to make changes to this site and then will update the live version later.
ToddNovember 10, 2012 at 7:00 am #89843
Please open woocommerce-hooks.php located in the woocommerce folder in the wordpress plugin directory. Now depending on the way you want the end result to look, you will be inserting the line from the next step either *before* or *after* line 119. Line 119 looks like
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
and on your webpage, that line becomes
SKU: T004BLK. Category: Bargains, T-shirts. Tags: comeback tour, Slut.
Now lets grab the order box and move it there. So open up config.php located in the woocommerce-config folder inside the Propulsion theme directory.itself. Copy line 123 which looks like
add_action( 'avia_add_to_cart', 'woocommerce_template_single_add_to_cart', 30, 2 );
and after you copied it put // in front of the line 123 so that it looks like
//add_action( 'avia_add_to_cart', 'woocommerce_template_single_add_to_cart', 30, 2 );
and save config.php. Paste the line 123 that we just copied into the woocommerce-hooks.php , before or after line 119 as I described in the beginning based on where you want the order box to go.
If you pasted *before* line 119, you can leave your paste as is. However if you pasted it after line 119, please change the numbers at the end of the line from ‘, 30, 2 ) to ‘,45)
Most of the styling with woocommerce involves rearranging the order of various hooks on those two pages. And since this is a dev site you have, you can play around to see which combinations make your site look the way you want to. If you run into problems, please have backups of those two pages easily available.
Please let us know how it worked out.
NickNovember 12, 2012 at 8:53 am #89844
Thats great, will take a loom this week and post the results. Thanks for your help.
toddNovember 12, 2012 at 9:18 am #89845
The topic ‘Move product variable’ is closed to new replies.