[Skip to main content](#vessel-content)

#   Cart module design

##

- **[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")**
- [![m.fontana's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35027.png)](/forum/user/35027-m-fontana "View m.fontana's Profile") Topic Author
- [ Offline](/forum/user/35027-m-fontana)
- Matteo Fontana

Less More

- Posts: 121
- Thank you received: 1
-
-
-
- [](http://www.apiceweb.it)
-

7 years 5 days ago [\#313364](#313364) by [m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")  *[Cart module design](/forum/30-integrations/898724-cart-module-design#313364 "-- url of the page with the problem -- :   www.vignaiolitreviso.com  -- HikaShop version -- : 4.2.2  Hi, I've buy   www.hikashop.com/marketplace/product/135...t-module-design.html , but I see that there is a bug; if there is two cart module in the same page one cart not view. You can check this on the home page of the site, and on the shop page.  Another things, I would like to show cart with count of items even when is 0; how can I edit the cart&#95;design&#95;view.php flie?  Thanks Matteo")* was created by *[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")*

-- url of the page with the problem -- : [ www.vignaiolitreviso.com](http://www.vignaiolitreviso.com)
-- HikaShop version -- : 4.2.2

Hi,
I've buy [ www.hikashop.com/marketplace/product/135...t-module-design.html](https://www.hikashop.com/marketplace/product/135-cart-module-design.html), but I see that there is a bug; if there is two cart module in the same page one cart not view. You can check this on the home page of the site, and on the shop page.

Another things, I would like to show cart with count of items even when is 0; how can I edit the cart_design_view.php flie?

Thanks
Matteo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTg3MjQtY2FydC1tb2R1bGUtZGVzaWduP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 4 days ago -  7 years 4 days ago [\#313381](#313381) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Cart module design](/forum/30-integrations/898724-cart-module-design#313381 "-- url of the page with the problem -- :   www.vignaiolitreviso.com  -- HikaShop version -- : 4.2.2  Hi, I've buy   www.hikashop.com/marketplace/product/135...t-module-design.html , but I see that there is a bug; if there is two cart module in the same page one cart not view. You can check this on the home page of the site, and on the shop page.  Another things, I would like to show cart with count of items even when is 0; how can I edit the cart&#95;design&#95;view.php flie?  Thanks Matteo")*

Hello,

Thanks for your return, this able us to fix this in our package.
Now on your side to solve your issue, follow me step by step :
**1.** Open your file **cart\_design.php** in your website , in the folder Code:

YourWebsite\plugins\hikashop\cart_design

**2.** At the end of the file, around line 55, you can see this : Code:

require_once(dirname(__FILE__) . '/cart_design_view.php');

**3.** remove "_one" to get this : Code:

require(dirname(__FILE__) . '/cart_design_view.php');

For your second point :
**1.** Go in your **cart module configuration** page.
**2.** In **HikaShop Options** tab, go in **Data Display** part
**3.** Find the "**Hide if empty**" option, and switch it on "**Custom**"
**4.** And use the **input** to add this : Code:

&lt;p class="hikashop_small_cart_checkout_link"&gt;&lt;span class="hikashop_small_cart_total_title fa-layers fa-fw shopping-cart"&gt;&lt;i class="fas fa-shopping-cart"&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="hikashop_cart_quantity"&gt;0&lt;/span&gt;&lt;/p&gt;

As, you can see the point is to reproduce, the html structure but with your wanted quantity on 0.

Thanks for your return that allow us to improve our plugin.
Regards

Last edit: 7 years 4 days ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTg3MjQtY2FydC1tb2R1bGUtZGVzaWduP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
