Post by ziiverdesigner » Tue Jan 16, 2018 7:27 am

I have the following problem with a template that I am creating.
In the header I have the shopping cart, and I want to show only the icon as a drop-down button, but when you add products or remove them from the cart in header, the entire article legend and price in the cart reappears, as long as I can understand my problem
My version Opencart is 2.1.0.2

Attachments

muestra-error.jpg

muestra-error.jpg (7.25 KiB) Viewed 787 times

muestra bien.jpg

muestra bien.jpg (7.35 KiB) Viewed 787 times



Posts

Joined
Tue Jan 16, 2018 6:45 am

Post by straightlight » Thu Jan 18, 2018 6:03 am

Any URL you could post about this issue?

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ziiverdesigner » Thu Jan 18, 2018 6:19 am

https://www.silverspoonmx.com

As it looks, I want it to appear at all times, but when adding or removing products, it changes to the default.


Posts

Joined
Tue Jan 16, 2018 6:45 am

Post by straightlight » Thu Jan 18, 2018 6:22 am

Since your site is under maintenance mode, your inquiry cannot be tested by others.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ziiverdesigner » Thu Jan 18, 2018 6:24 am

the site is no longer in maintenance


Posts

Joined
Tue Jan 16, 2018 6:45 am

Post by ziiverdesigner » Thu Jan 18, 2018 6:26 am

I have edited the files cart.tpl, common.js, but it still does not work


Posts

Joined
Tue Jan 16, 2018 6:45 am

Post by straightlight » Thu Jan 18, 2018 6:27 am

The reason is this:
Notice: Undefined variable: text_items in /home/silver/public_html/catalog/view/theme/enero/template/checkout/cart.tpl on line 2
Caused by a custom theme issue for the cart page. Contact the extension theme developer to resolve this issue. Also revert back to the default theme and see if this issue can be replicated afterwards.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ziiverdesigner » Thu Jan 18, 2018 6:33 am

Where does this error show? The truth is that I see that it works very well, it's just that detail, when adding or eliminating products.

Attachments

muestra 2.jpg

When adding products. - muestra 2.jpg (15.27 KiB) Viewed 671 times

muestra 1.jpg

As I wish it to be seen, all the time - muestra 1.jpg (32.22 KiB) Viewed 671 times



Posts

Joined
Tue Jan 16, 2018 6:45 am

Post by straightlight » Thu Jan 18, 2018 6:42 am

The cart.tpl file is either missing key entries or the file itself might be corrupted.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ziiverdesigner » Thu Jan 18, 2018 6:45 am

In what files can I change the icon and cart text in header? Eliminating the total cost and quantity of products that the cart has. OpenCart version 2.1.0.2


Posts

Joined
Tue Jan 16, 2018 6:45 am

Post by straightlight » Thu Jan 18, 2018 6:52 am

catalog/view/theme/<your_theme>/template/common/cart.twig and header.twig file.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 9 guests