WebSite X5Help Center

 
Adam P.
Adam P.
User

How to add to the preview how many products are in the basket?  en

Auteur : Adam P.
Visité 612, Followers 1, Partagé 0  

In the older version of the websitex program, I had the option of adding a script to the header that displayed the number of products in the basket and the total amount, can I also do it in the latest version of the program?

Posté le
4 RéPONSES
Daniel W.
Daniel W.
User

There is a chargeable object "Cart Status" (12 credits) in the Marketplace that shows the number of products. Perhaps the other users know a script that can also display the sum.

Lire plus
Posté le de Daniel W.
Giancarlo B.
Giancarlo B.
User

yes it is doable with little code, as soon as I can if you want I'll post it

Lire plus
Posté le de Giancarlo B.
Adam P.
Adam P.
User
Auteur

Giancarlo B. yes, please.

Lire plus
Posté le de Adam P.
Giancarlo B.
Giancarlo B.
User

Here this is the code I also used it on my site in a text object by activating the code
https://www.giancarloweb.it/shop.php


Cart total amount: <span class="widget_amount_total"></span>
Total weight in cart: <span class="widget_weight_total"></span>
Quantity of items in cart: <span class="widget_quantity_total"></span>

Lire plus
Posté le de Giancarlo B.