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.
i have do it a vqmod file that comment the code for check on admin/controller.
this work with 1.5.5.1
this work with 1.5.5.1
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.
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
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
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
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
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".
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".
Who is online
Users browsing this forum: No registered users and 6 guests