Cross sell on single product page
Hello! How i can add cross sell carousel after content like related product like this page http://8theme.com/demo/classico/variant15/product/velvet-sequins-open-back-30/
I try paste function woocommerce_cross_sell_display(); but it is not working
Please read this article https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/
On single product page can be shown Related products and Up-Sells product.
These products you may enable in Theme Options > E-commerce > Single products
– Display related products > On.
– Location of upsell products > After content.
i mean i need show display cross sell products
Cross-sells are products that you promote in the cart, based on the current product. We do not have special settings for this in our theme. You may contact WC plugin support and ask how to achieve the desired result.
So can you give me rout to code related products. i will need display only for product without carousel.
Could you please explain in details what result do you want to achieve?
Woocommerce cross_sell_display not working
I have decided to use a WooCommerce Storefront child theme called Galleria, when I have previously used the Storefront theme I have used the common remove_action to unhook the defaults and replaced with my own add_action.
However as Galleria is a child theme of Storefront, it has its own add_action in the file class-galleria-structure.php though the structure of the add_action seems different.
A typical add_action in storefront looks like this.
I would usually use the following to unhook it in my functions.php file like so.
In the Galleria child theme the add_actions looks like this.
So I assumed that by doing the following it would simply unhook them.
Having tried this in my functions.php file I find it has no effect.
I tried the suggestion of using ‘init’ but that failed, however after some further digging I realised that they have created these hooks as part of a larger function as seen here.
Can someone please point me in the right direction? I am at a loss as to why this is not working.