Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17568

    Hi,

    I’d like to do this… look at the screenshot please:

    http://livemyadventure.zenfolio.com/p141447269/h4a415ef6#h4a415ef6

    Thanks :)

    Mario

    #95955

    Hi,

    In order for us to help you , please post a link to a development website where this actual page is located. It is difficult to help you since that theme can be customized any number of ways without seeing the tags

    Thanks,

    Nick

    #95956

    Hi Nick,

    sorry, I didn’t know that :)

    Here my website:

    http://www.envivoo.com

    Thanks

    Mario

    #95957

    Hi Mario,

    Please make a backup of all the files we will be modifying first and be prepared to go back to current setup if there is a problem.

    1) Please open file woocommerce-hooks.php inside the wocommerce plugin that’s inside the wordpress plugins directory and find line 161 which looks like

    add_action( 'woocommerce_product_tab_panels', 'woocommerce_product_attributes_panel', 20 );

    please *copy line 161* (do not lose copy we need in next step) and then put // in front of line 161 so that it looks like

    //add_action( 'woocommerce_product_tab_panels', 'woocommerce_product_attributes_panel', 20 );

    save and close the file. Now please open config.php in the /propulsion/config-woocommerce/ directory of the theme and find line 125 that looks like

    //add_action( 'woocommerce_product_thumbnails', 'avia_woocommerceproduct_prev_image_after', 1000 );

    please paste line 161 that we copied from woocommerce-hooks.php *before* line 125 into the config.php file so that lines 123-125 will look like

    add_action( 'avia_add_to_cart', 'woocommerce_template_single_add_to_cart', 30, 2 );
    add_action( 'woocommerce_product_tab_panels', 'woocommerce_product_attributes_panel', 20 );
    //add_action( 'woocommerce_product_thumbnails', 'avia_woocommerceproduct_prev_image_after', 1000 );

    The middle line above is the line from other file. Now save this file

    Please add this to quick css code in the admin area of the theme under Propulsion > Theme Options > Styling on the bottom of that page

    div table.shop_attributes th {width: initial}
    table.shop_attributes th {width: initial}

    ***Please be aware that when you update WooCommerce plugin this customization will be overwritten and you will need to redo it again***

    Please let us know how it worked out.

    Thanks,

    Nick

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

The topic ‘Moving Attributes in Product description to the left column under Price’ is closed to new replies.