Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16023

    Hi,

    Can you tell me which file i need to edit to move my product variables to the right hand column.

    http://www.slut.co.uk/t-shirts/gramophone/

    I’d like them and the ‘add to cart’ button to appear after the description.

    many thanks

    Todd

    #89839

    Hi,

    You mean something like this http://i.imgur.com/JyMFR.png ?

    Thanks,

    Nick

    #89840

    Hi Nick,

    sorry I forgot all about this post. Yes, exactly like that.

    cheers

    Todd

    #89841

    Hi,

    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.

    Thanks,

    Nick

    #89842

    Hi Nick,

    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.

    many thanks

    Todd

    #89843

    Hi,

    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.

    Thanks,

    Nick

    #89844

    Hey Nick,

    Thats great, will take a loom this week and post the results. Thanks for your help.

    todd

    #89845

    Hi Todd,

    No problem. I will soft close this ticket for now, so you will still be able to post.

    Thanks,

    Nick

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Move product variable’ is closed to new replies.