Post by tony2011 » Tue Feb 20, 2018 5:24 am

I am trying to hide weight and points in the product form (see attached) but not having much luck. I have commented the following lines out in the product_form.twig file but no success.... any ideas?

<!-- <td class="text-right">{{ entry_option_points }}</td> -->
<!-- <td class="text-right">{{ entry_weight }}</td>-->

Attachments

option_remove.PNG

option_remove.PNG (21.36 KiB) Viewed 1108 times


New member

Posts

Joined
Tue Jun 14, 2011 4:42 am

Post by cyclops12 » Tue Feb 20, 2018 5:40 am

Be sure to clear ALL caches

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by tony2011 » Tue Feb 20, 2018 7:03 am

I have deleted all the cache files (gone into ftp to delete them as well) but no avail....

New member

Posts

Joined
Tue Jun 14, 2011 4:42 am

Post by cyclops12 » Sat Feb 24, 2018 5:47 pm

Have you commented out ALL instances of
<td class="text-right">{{ entry_option_points }}</td>
<td class="text-right">{{ entry_weight }}</td>
?

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by straightlight » Sat Feb 24, 2018 8:11 pm

tony2011 wrote:
Tue Feb 20, 2018 7:03 am
I have deleted all the cache files (gone into ftp to delete them as well) but no avail....
I don't know why people keeps going to FTP with the v3.x releases of Opencart to clear the cache and addressing the option is no available. The option is available . Admin - > dashboard - > blue square icon and admin - > extensions - > modifications - > refresh button. Lots of topics indicating these steps already.

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 tony2011 » Wed Feb 28, 2018 5:37 am

cyclops12 wrote:
Sat Feb 24, 2018 5:47 pm
Have you commented out ALL instances of
<td class="text-right">{{ entry_option_points }}</td>
<td class="text-right">{{ entry_weight }}</td>
?
This is my Product_Form in a php format (on server it is saved as a TWIG file). I have done a search and replace and cannot find anymore instances as quoted... any other ideas? This is the file I am updating...admin/view/template/catalog

New member

Posts

Joined
Tue Jun 14, 2011 4:42 am

Post by cyclops12 » Thu Mar 01, 2018 12:56 am

You will also need to remove the table content for points and weight.
Probably have to edit the model file as well

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: AdsBot [Google], Bing [Bot], Shiftcom, SohBH and 424 guests