Eshop cart module

More
5 years 8 months ago #115914 by fdi
Eshop cart module was created by fdi
I have tried modifying the cart module php: /public_html/modules/mod_eshop_cart/tmpl/default.php
with my own override: /public_html/templates/t3_bs3_blank/html/mod_eshop_cart/custom.php
to have only a cart icon and number of items(please see attachment: would-like.jpg)
and it works until I try adding a new item into cart. It then goes to(please see attachment: changes-to.jpg)

I've tried modifying the php many times and everything I try seems to fail.

How can I get it to show the cart icon and item count bubble at all times?

Thanks!
Attachments:

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
5 years 8 months ago #115951 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Eshop cart module
Hello Fdi,

You should also made the same overwrite to mini layout of cart in EShop component by copying the following file:

components\com_eshop\themes\default\views\cart\mini.php

to:

/public_html/templates/t3_bs3_blank/html/com_eshop/cart/mini.php

And modify the copied file same as you modifed the file from module.

Hope that this is useful.

Sincerely, Giang

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

Moderators: Giang Dinh Truong