Home Forums WoodMart support forum Woodmart Update to 6.5.4 PRODUCTS STYLES changed for me

Woodmart Update to 6.5.4 PRODUCTS STYLES changed for me

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #392134

    kamran1331
    Participant

    Hello,
    i have make Update to 6.5.4 and this shows now enother.
    I have Germanzied.

    The “wc-gzd-additional-info wc-gzd-additional-info-loop tax-info” comes after Button. Before Update it was first, than “wc-gzd-additional-info wc-gzd-additional-info-loop product-units-wrapper product-units” and than Button.

    Show Screen shot.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #392232

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    function woodmart_update_gzd_shopmark_product_loop_hooks() {
    	remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_gzd_template_loop_tax_info', 6 );
    	remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_gzd_template_loop_shipping_costs_info', 7 );
    	remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_gzd_template_loop_delivery_time_info', 8 );
    	remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_gzd_template_loop_product_units', 9 );
    
    	add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_gzd_template_loop_tax_info', 16 );
    	add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_gzd_template_loop_shipping_costs_info', 17 );
    	add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_gzd_template_loop_delivery_time_info', 18 );
    	add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_gzd_template_loop_product_units', 19 );
    }
    add_action( 'init', 'woodmart_update_gzd_shopmark_product_loop_hooks' );

    Kind Regards

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