Mini shopping cart

  • Posts: 19
  • Thank you received: 1
10 years 10 months ago #141290

Hi,
Is there a way to have a mini shopping cart icon that will display how many items are there in the card and if clicked will take the user to the full cart view?
attached a sample of what i am thinking about from dx.com

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 10 months ago #141338

Hi,

Yes it is possible but you will have to override the view "product | cart" in order to change how the quantity is displayed.
After that, you will be able to put some specific CSS rules to create your design.

The idea is to change this part

$text = JText::sprintf('X_ITEMS_FOR_X',$qty,$this->loadTemplate());

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.034 seconds
Powered by Kunena Forum