Has anyone figured out how to modify the template to hide display-only attributes?
Has anyone figured out how to modify the template to hide display-only attributes?
still struggling to hide the display only attributes from the product pages. I got these instructions from a post in numinix thread
i have tried the above -This file needs to be edited:
/public_html/YOUR_CATALOG/
includes/modules/YOUR_TEMPLATE/attributes.php
each query that selects data from the table TABLE_PRODUCTS_ATTRIBUTES needs to have the following condition
AND patrib.attributes_display_only = 0
Note, that on one of the queries, the table TABLE_PRODUCTS_ATTRIBUTES is referenced as pa so the condition would be
AND pa.attributes_display_only = 0
from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . AND patrib.attributes_display_only = 0 " patrib
but once all TABLE_PRODUCTS_OPTIONS have been amended as above ,, all that seems to happen is the whole product page is hidden..
Anyone got any ideas too hide just the display only attributes... thanks
This MOD V1.5 should just be taken out of the plugin menu. This version DOES NOT WORK with V1.5 unless some tweaking is done. If you do a search for the error you get, you will see instructions from another zenner who has solved the problem. You will need essentially to remove some files, modify the SQL patch. With all these changes it is obvious that the current V1.5 is not ready for what it claims to be. So please remove it until it is fixed.
(duplicate post)
There are LOTS of add-ons that do not work.. Wouldn't a BETTER solution be to post the fixes?? or better yet since you seem to be familiar with the fix, you could fix the add-on and re-submit it..
What error?? Which posts?? if there are posted fixes for this add-on why not share them with the community??
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Sorry about that out burst fellow zenners. It was just frustrating last night spending hours trying to fix the module and make it work on v 1.5.
So here it is. The link below to the fix is for v12.5 for 1.5 but I actually used v13.0 for 1.5 and had various errors in it, and the fix below solved it.
http://www.zen-cart.com/showthread.p...eder+sql+patch
Pay special attention to the fact that a file had to be deleted and another file updated, then SQL patches had to be made on myphp admin. It won't work on the SQL install on admin.
So after all that, I got it working. It now produces an XML file from the link but does not output the file into the folder specified. Hey, at least it is working for now.
I just wish it was not posted as v1.5 ready when clearly it is not.
Thanks!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I didn't put the patch together, but I did find the solution written in one of the forum notes.
I really don't know where the output file goes, it certainly does not show up in the output folder feed/google but when you click on the link once the file is generated, you can download the xml file.
Did you get it to work? I had to try the sql patch 2x before it kicked in. Not sure why. Maybe the patch itself is buggy but right now it works.
Bookmarks