Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Catalog
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2011 at 13:29 UTC
Updated:
20 Dec 2011 at 00:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
longwaveWhat's the name of your taxonomy reference field? I think Ubercart expects it to be called taxonomy_catalog, which probably isn't the case if you change it from the default vocabulary.
Comment #2
maxchock commentedthat means we can't have custom taxonomy as catalog? because all the field have to start with "field_"..
Comment #3
longwaveWell, it's a bug, I guess. You should be able to change the existing Catalog taxonomy reference field to point to a different vocabulary, but that means changing your data. The catalog vocabulary selection should probably be changed to a taxonomy reference field selection to handle this.
Comment #4
longwaveActually, perhaps we should depend on the taxonomy_catalog field here. Have you deleted it from your product content type already? If not, just use that and make it point to a different vocabulary in the field settings. If you have deleted it, I guess we need some way of letting you recreate it.
Comment #5
longwaveAwaiting answers to questions in #4
Comment #6
maxchock commentedI have deleted it from a product type before, but then pointing to another vocab didn't work. So i have add the taxonomy_catalog back.
Comment #7
longwaveComment #8
ju1i3 commentedMax, I don't know if this is your problem but I just had the same with the catalog block appearing to do nothing. When I ticked the box under the title in configure block, "Make the block title a link to the top-level catalog page." the catalog came to life. When I clicked on the title I got my categories and clicking on one, the catalog displayed for that category. Sorry if this was already obvious to you. Sometimes it's the smallest things that trip us up (or they do me!)
Comment #9
longwaveAttached patch fixes #1074906: Warning: array_intersect(): Argument #2 is not an array in uc_catalog_uc_store_status() and adds a basic repair facility.
I think this can be extended further and the catalog vid setting dropped in favour of using the field settings, but that's for another day.
Comment #10
longwaveCommitted, with a test to ensure it all works as expected.