DragonflyCMS Projects > Storez > [done] order/ add to cart > Community Forums > Phoenix Netology
Forum Index > eCommerce > Storez

[done] order/ add to cart Reply to topic


I noticed when i click order on a product page the page refreshed and that is it.

Can we get like a number beside View Cart to show that it was added to cart?

View Cart (1 item)

DizWebDesign

Please enter your server specs in your user profile! 😢


Yeah, can do that.

You can also change the setting for "Add to cart and return to shopping".

Also, you could display the cart block next to the Storez module, like I do here.

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


thanks

DizWebDesign

Please enter your server specs in your user profile! 😢


I cant figure out how to add the number beside View Cart(1)

DizWebDesign

Please enter your server specs in your user profile! 😢


View cart now updates number of items for users and guests in the top line of the Storez page.

Similarly, I have displayed the number of past orders for users (Order History).

Attachment contains modules/Storez/includes/functions.php and themes/default/template/storez/user_menu.html
Attachment: view_cart.zip
Description
Filename view_cart.zip
Filesize 8.25 KiB
Downloaded 1 Time(s)
You are not allowed to view/download this attachment

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are Australia/Adelaide


Jump to: