Skip to main content

Cart module design

More
6 years 10 months ago #313364 by m.fontana
Cart module design was created by m.fontana
-- 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_design_view.php flie?

Thanks
Matteo

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

More
6 years 10 months ago - 6 years 10 months ago #313381 by Philip
Replied by Philip on topic Cart module design
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:
<p class="hikashop_small_cart_checkout_link"><span class="hikashop_small_cart_total_title fa-layers fa-fw shopping-cart"><i class="fas fa-shopping-cart"></i></span><span class="hikashop_cart_quantity">0</span></p>

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: 6 years 10 months ago by Philip.

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

Time to create page: 0.244 seconds
Powered by Kunena Forum