-
Catalog variable
Hello
Is there a way to access variables of catalog reader from the template of catalog reference ?
I'd like to filter what is coming in the reference module with an element parameter.
For example, I have a range of colors wich is used by various products.
I can see the entire range of colors with a reader displaying everything (fine).
In a product page I have a reader and a reference module displaying the associated range of color.
But all the products are not using all the colors of the range, so I'd like to set up a maker wich will determine if the color will be displayed or not depending on the product.
Thank's
Eric
-
Re: Catalog variable
Hi evantro,
why not with the catalog-related Module?
This is for something like that (when i understand everything right...).
regards
-
Re: Catalog variable
you understand well, and I am using it the catalog-related module; it works fine, but I want (need) to filter more over the relation...
-
Re: Catalog variable
Hmm you could try it with the Globals Variables. With that you can check the color in the related module and there you can filter it by hand in the template.
regards
-
Re: Catalog variable
Could you give me a track about global variable I never used it
Thank's
-
Re: Catalog variable
Sorry that i didn't write earlier....
Here is a Hint from the german Wiki:
http://de.contaowiki.org/Catalog_Steuer ... log_feldes
The Part for you:
$GLOBALS['Type_of_Item'] = $entry['data']['Typ']['value'];?>
Hope that will help...
regards