Post by adregion » Thu Dec 14, 2017 11:42 am

Hi. i was recently try to use 3.x version.
However, 3.x version's free extension is so less. So i tried to do some modify by edit the opencart core file myself.
like hide the "Availability: In Stock" from the shop.

In 2.3.0.2 version, it is OK. but when i edit the 3.0.2.0 version
file: /catalog/view/theme/default/template/product/product.twig
<li style="display:none">{{ text_stock }} {{ stock }}</li>
and upload to the website. nothing was changing.....
I was work on 2.3.0.2 version, but not work on 3.0.2.0 version.

Is there something i am missing???

Newbie

Posts

Joined
Sat Mar 21, 2015 1:05 pm

Post by straightlight » Thu Dec 14, 2017 12:27 pm

Clear your admin dashboard cache (blue square icon) and your admin - > extensions - > modifications - > refresh button caches and ensure your system/storage is outside your public_html folder. Then, modify your config.php and admin/config.php files for your storage folder accordingly as well as for the htaccess file (if the case for the ,htaccess file). This should rectify the issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by adregion » Thu Dec 14, 2017 3:54 pm

Your are my hero!!!! the problem is solved. thank you.

Newbie

Posts

Joined
Sat Mar 21, 2015 1:05 pm
Who is online

Users browsing this forum: No registered users and 409 guests