Skip Navigation

[Resolved] wpv-add-to-cart-message Assistance

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1157156

Hi - I read the following page https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-add-to-cart-message and other tutorial documents but I am unable to determine how to display an add to cart message on the product pages.

A little more information on this would be helpful.

Thank you.

#1157623

Hello,

You can put shortcode [wpv-add-to-cart-message] into a single product content, for example, you can use Views content template to style/format the single product content
https://toolset.com/documentation/user-guides/setting-view-templates-for-single-pages/

In this content template, display an "Add to cart" button:
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-154348

And the [wpv-add-to-cart-message] shortcode

After user click the button "Add to cart", the [wpv-add-to-cart-message] shortcode will displays a success message.