remove:
Code: Select all
<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>
remove:
Code: Select all
<li><a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_shopping_cart }}</span></a></li>
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
I have open cart 3.0.2.0 and your advises is not working.
I made those two steps and nothing happened.
Other advises please?
Thank you very much
straightlight wrote: ↑Sat Dec 02, 2017 4:19 amAdd-to-cart button - catalog/view/theme/<your_theme>/template/product/product.twig file
remove:
Then, for the shopping cart link, in your catalog/view/theme/<your_theme>/template/common/header.twig file,Code: Select all
<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>
remove:
Code: Select all
<li><a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_shopping_cart }}</span></a></li>
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
I folowed your instructions, but no results ! What I did wrong ?
I edited product.twig - press save button - refresh or clear cache - and..... nothing ! Product.twig have same code !!!! Why don't keep changes ?
Thank you in advance for yours help !
More information is needed.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
How did you edit product twig through OC admin theme editor or did you edit the FILE DIRECTLY
Did you edit the file within your active theme folder and did you try clearing your browser cache (in addition to OCMOD and Theme cache)? Also try it in another browser. When I say theme cache, I'm talking about the blue icon on the dashboard near the upper right corner of your screen.
50% Off SSD Shared Hosting w/ cPanel
Detailed guide on how to install Opencart
Was a very stupid mistake by server admin : he provide me user/pass Cpanel for old site /innactive site (main name of site was ”name-name”, now is ”namename”).
Yesterday i checked deeper, more exactly config.php , and i observed path of directory !
What can i say ?
Lot of thanks again !
Users browsing this forum: No registered users and 8 guests