Post by lbv2010 » Thu Jul 01, 2010 4:17 am

that hadn't occurred to me as I didn't even have opencart downloaded, a friend had done the initial set up for me. fixed now, thank you so very much for your kind help and patience ...

Newbie

Posts

Joined
Sat May 29, 2010 7:12 am

Post by GmanDesign » Tue Jul 13, 2010 4:57 am

i tried doing the above code for 1.4.8 to make the model optional and the code listed with the lines isnt there. am i missing something?? i really dont wanna have to list a model for 2000+ products i have to put in my store.

Newbie

Posts

Joined
Wed Mar 17, 2010 8:25 pm

Post by marky » Tue Sep 21, 2010 3:46 pm

Hi,

Any idea on how to do this in oc v 1.4.9.1 ?

Thanks
Marky

Newbie

Posts

Joined
Wed Apr 07, 2010 1:58 pm

Post by haydent » Wed Nov 23, 2011 11:25 am

For Version 1.5.1.3:

1st step is at line 1147

2nd step line 58

User avatar
Active Member

Posts

Joined
Wed Nov 09, 2011 9:50 am
Location - Sydney, Australia

Post by yiyinlah » Fri Feb 24, 2012 6:23 am

How to do this for 1.5.1.3 for return products page?
Make model not compulsory?

I'm using Opencart 1.5.4.1 & vQmod 2.3.2.


User avatar
Active Member

Posts

Joined
Thu Sep 23, 2010 1:19 pm
Location - Singapore

Post by Mte90 » Tue Apr 30, 2013 7:04 pm

i have do it a vqmod file that comment the code for check on admin/controller.
this work with 1.5.5.1

Newbie

Posts

Joined
Sat Apr 20, 2013 4:42 pm

Post by butte » Thu May 02, 2013 12:57 am

As for "to comment out code, do I just put a" [daysgonebyantiques, early on well above] the answer is usually yes but it matters what you "put a" there. Follow what prevails in the kind of code on the kind of page you're looking at. The symbols, usually followed by a space, may be #, //, /*, <!--, etc., and there may be a closing *., // -->, etc.. WHEN ANY ACTIVE LINE ENDS IN a ; DO NOT REMOVE THAT OR LEAVE IT LEFT OVER. A stray short or extra ; will throw errors or a dead-white dead-blank screen. You're messing with machine-readable syntax, spelling, and punctuation. The machine will obey, whether the code is rocket science or garbage.
Last edited by butte on Sat May 04, 2013 4:04 am, edited 1 time in total.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by geralt » Sat May 04, 2013 3:29 am

Hi, this is my list of modified files ( version 1.5.1.1 ):
Removed product model (non-admin part)
----
catalog/controller/account/return.php
catalog/controller/product/category.php
catalog/controller/product/search.php
catalog/controller/product/special.php
catalog/view/theme/default/template/account/order_info.tpl
catalog/view/theme/default/template/account/return_form.tpl
catalog/view/theme/default/template/account/return_info.tpl
catalog/view/theme/default/template/account/wishlist.tpl
catalog/view/theme/default/template/checkout/cart.tpl
catalog/view/theme/default/template/checkout/confirm.tpl
catalog/view/theme/default/template/mail/order.tpl
catalog/view/theme/default/template/product/compare.tpl
catalog/view/theme/default/template/product/product.tpl

Newbie

Posts

Joined
Sat May 04, 2013 3:26 am

Post by geralt » Sat May 04, 2013 3:32 am

Hi, my list of modified files ( version 1.5.1.1.)
Removed product model (non-admin part)
----
catalog/controller/account/return.php
catalog/controller/product/category.php
catalog/controller/product/search.php
catalog/controller/product/special.php
catalog/view/theme/default/template/account/order_info.tpl
catalog/view/theme/default/template/account/return_form.tpl
catalog/view/theme/default/template/account/return_info.tpl
catalog/view/theme/default/template/account/wishlist.tpl
catalog/view/theme/default/template/checkout/cart.tpl
catalog/view/theme/default/template/checkout/confirm.tpl
catalog/view/theme/default/template/mail/order.tpl
catalog/view/theme/default/template/product/compare.tpl
catalog/view/theme/default/template/product/product.tpl

Newbie

Posts

Joined
Sat May 04, 2013 3:26 am

Post by butte » Sat May 04, 2013 4:11 am

Those being all the places you found to disarm the model box, or what else also about model? That is, what did you change or leave about model in those?

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Andaho » Sun Mar 16, 2014 1:58 am

Thanks @ geralt

With that list of files I was able to find lots of references to model and get rid of them all...

It took a while without further info on exactly what needed removing... and I wasn't taking note, so I can't post exactly what needs removing, but it was all pretty obvious when searching those files for the word "model".

New member

Posts

Joined
Wed Jul 10, 2013 4:15 am
Who is online

Users browsing this forum: No registered users and 6 guests