Home › Forums › WoodMart support forum › does woodmart have such function?
does woodmart have such function?
- This topic has 8 replies, 2 voices, and was last updated 5 months ago by
Luke Nielsen.
-
AuthorPosts
-
December 5, 2024 at 10:15 am #619572
bestshop24hParticipanthi
does woodmart have such function?
recommend customer to buy one more product by the way when they checkout?thanks
December 5, 2024 at 4:14 pm #619746
Luke NielsenKeymasterHello,
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
December 8, 2024 at 10:37 am #620512
bestshop24hParticipanthi
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.December 9, 2024 at 5:48 pm #620929
Luke NielsenKeymasterHello,
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
December 15, 2024 at 5:59 am #622520
bestshop24hParticipantnow,please take a look at the Extra information (visible to moderators only)
thanksDecember 16, 2024 at 5:20 pm #622915
Luke NielsenKeymasterHello,
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
December 17, 2024 at 10:44 am #623102
bestshop24hParticipanthi
i donot understand very well ,could you explain more,how to use the pre-footer through the preset and display the products there?
thanks
December 17, 2024 at 10:56 am #623109
bestshop24hParticipanti 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?December 17, 2024 at 12:23 pm #623155
Luke NielsenKeymasterHello,
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
-
This reply was modified 5 months ago by
Luke Nielsen.
-
This reply was modified 5 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register