Home Forums WoodMart support forum does woodmart have such function?

does woodmart have such function?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #619572

    bestshop24h
    Participant

    hi

    does woodmart have such function?
    recommend customer to buy one more product by the way when they checkout?

    thanks

    #619746

    Luke Nielsen
    Keymaster

    Hello,

    You can create a Layout for the Checkout page and show at the bottom the products that you want to sell.

    https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/

    Kind Regards

    #620512

    bestshop24h
    Participant

    hi

    yes,according to what you instruct,now on the checkout page,i have successfully added a container below a product grid,

    now my question is how to make the info in your order auto being updated after click” add to cart” on grid product below it?

    the attached image would show the detailed

    sincerely

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

    Luke Nielsen
    Keymaster

    Hello,

    Could you please send access to the admin panel so I can look closer at the issue there.

    Thank you for your time.

    Kind Regards

    #622520

    bestshop24h
    Participant

    now,please take a look at the Extra information (visible to moderators only)
    thanks

    #622915

    Luke Nielsen
    Keymaster

    Hello,

    Unfortunately, the Ajax add to cart cannot work correctly in the checkout form. If you still need to add products to the checkout, then you need to use the pre-footer through the preset and display the products there.

    https://xtemos.com/docs-topic/theme-settings-presets/

    Kind Regards

    #623102

    bestshop24h
    Participant

    hi

    i donot understand very well ,could you explain more,how to use the pre-footer through the preset and display the products there?

    thanks

    #623109

    bestshop24h
    Participant

    i donot know how to use the pre-footer through the preset,

    i just modify the default pre-footer ‘s content to show a grid product, not works,
    on the checkout page ,the “your order” section not being auto -updated after click” add to cart” of a grid product in pre-footer?

    #623155

    Luke Nielsen
    Keymaster

    Hello,

    Try to use the code below to update the cart on the Checkout page.

    (function($) {
    	$( document.body ).on( 'added_to_cart', function() {
    		if ($(document.body).hasClass('woocommerce-checkout')) {
    			$( document.body ).trigger("update_checkout");
    		}
    	})
    })(jQuery);

    Define it in THeme Settings -> Custom JS.

    Kind Regards

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