Home Forums Space themes support forum Cant change position Bought together with snippet.

Cant change position Bought together with snippet.

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

    patrik.varga
    Participant

    Hi!

    I would like to change the position Bought together section in single product page.
    I have written a snippet and add functions.php, but not change the position.

    I wanted to move it above Long descripsion Tabs section.

    What did I make wrong?

    /**
     * @snippet       Move Bought together @ Single Product Page - WooCommerce
     * @
    */ 
    
    // 1. Remove Bought Together From Their Default Position
    remove_action( 'woocommerce_after_single_product_summary', 'get_bought_together_products', 12 );
     
    // 2. Echo Bought Together In Another Position
    add_action( 'woocommerce_after_single_product_summary', 'get_bought_together_products', 5 );
    #466999

    Luke Nielsen
    Keymaster

    Hello,

    I apologize for the delay.

    Is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?

    Kind Regards

    #467771

    patrik.varga
    Participant

    Sorry for my lately answer. In private content you can see everything.

    #468232

    Luke Nielsen
    Keymaster

    Hello,

    The best way to change the position of the FBT is to use our Product templates – https://take.ms/L0XmE . So you can build a product page there and set any order, e.g. FBT you can move just by changing the position of the section in which the FBT element is situated.

    Kind Regards

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