Home Forums WoodMart support forum Upsells in mini-cart sidebar widget + Size guide link on custom position

Upsells in mini-cart sidebar widget + Size guide link on custom position

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

    urban.dolinsek
    Participant

    Hi,

    I want to show upsells in mini-cart sidebar widget when customer adds a product to cart, sidebar opens and bellow the product list there I want to show upsells. How can I achieve this? I have shortcode that I can put somewhere but don’t know where this side mini-cart is in backend?

    Another thing is, I want to move the “Size guide” link on product page to a different position. How do I do that? Currently it is being shown bellow add to cart button but I want it to show besides “Size” attribute or if this is not possible, then just ABOVE the add to cart button would be acceptable.

    Thanks!

    #607626

    Hello,

    01. Sorry but there is no option in Theme Settings available for that.
    It requires customizations and this is beyond our limitations and support policy.

    02. Try to use the Theme’s Layout Builder you can create Custom Layouts for WooCommerce pages like Shop, Category, Single Product page, Cart, and Checkouts. You can use that to create your own custom layouts for a single product page.

    Further, you can read more about the Layout Builder here: https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/

    Best Regards

    #607631

    urban.dolinsek
    Participant

    Hi,
    thank you for your reply.
    I managed to partly solve problem no.1 with custom code in functions.php, however I still have some problems with this but I will contact developers of WPC because I am using their plugin for this purpose.

    /* upsell on mini cart */
    add_action( 'woocommerce_mini_cart_contents', 'upsell_minicart' );
     
    function upsell_minicart() {
        echo '<div style="padding: 15px;">';
    	echo do_shortcode( '[wpcuf_uf]' );
    	echo '</div>';
    }

    Regarding problem no.2 OK, I will take a look and maybe create custom layout. Thanks.

    #607709

    Hello,

    Glad to hear you found a partial solution for the upsell in the mini-cart. And yes, the Layout Builder should be helpful for adjusting the “Size guide” position if you decide to create a custom layout. Let us know if you need any further assistance.

    Best Regards

Tagged: 

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