Home / Forums / WoodMart support forum / Adding upsells to shopping cart display widget
Home › Forums › WoodMart support forum › Adding upsells to shopping cart display widget
Adding upsells to shopping cart display widget
- This topic has 11 replies, 2 voices, and was last updated 4 years, 9 months ago by
Elise Noromit.
-
AuthorPosts
-
February 1, 2021 at 1:39 pm #262984
T1mediaParticipantHi guys, can you tell us where the php code is for the shopping cart display widget please? Also is it possible in the system without programming to add upsells and cross sells into there?
February 1, 2021 at 3:00 pm #263026
Elise NoromitMemberHello,
Please read and follow this Woocommerce manual: https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/
Best Regards
February 1, 2021 at 3:55 pm #263035
T1mediaParticipantsorry you mis understand. See the screen shot attached. Which script generates this please? we want to add content in there.
Attachments:
You must be logged in to view attached files.February 1, 2021 at 7:53 pm #263082
Elise NoromitMemberHello,
Please add this code to the functions.php of the child theme:
add_action( 'woocommerce_widget_shopping_cart_total', function(){ echo do_shortcode( '[html_block id="3008"]' ); }, 5 );[html_block id="3008"] insert your HTML block ID in this place.
You can show any products in the HTML block by means of the Product grid /Carousel element.
https://xtemos.com/docs/woodmart/html-blocks-2/ and https://xtemos.com/docs/woodmart/faq-guides/product-grid-carousel-element/
Best Regards
March 26, 2021 at 11:07 am #276495
T1mediaParticipantthank you, can you tell me why this does not refresh after updating please?
March 26, 2021 at 1:20 pm #276557
Elise NoromitMemberHello,
Please clear the browser and site cache and check again.
If you have any questions please feel free to contact us.
Best Regards
March 26, 2021 at 2:20 pm #276591
T1mediaParticipanthello, we had already tried that. This is the issue we thought it was. I have tried clearing the cache, different browers and even mobile devices. That cart doesnt update.
March 26, 2021 at 9:36 pm #276723
Elise NoromitMemberHello,
Please provide your site admin access to the private area.
Please confirm the permit for us to deactivate the plugins not related to the theme and switch to the parent theme for the while of checking what may take up to 15 minutes. Please make the full backup of your site.
Best Regards
March 27, 2021 at 5:00 pm #276869
T1mediaParticipantHi There
I have added the details in the private content as requested. Please go ahead
March 28, 2021 at 2:59 pm #276977
Elise NoromitMemberHello,
I have checked the shopping cart and it is updated: https://gyazo.com/dcab0d555febeda89f3bf83c14726796
You need to press the “Update cart” button.
Best Regards
March 28, 2021 at 5:01 pm #276997
T1mediaParticipantSorry i think you misunderstand. I have added a video for you , the link is in private content
March 29, 2021 at 12:14 pm #277235
Elise NoromitMemberHello,
Please disable all the cache plugins and check how it works, I see the changes you have added: https://prnt.sc/10yz779
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register