Detail Page of Products from URL id

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 16, 2009   (RSS)

Re: [ferrisj] Detail Page of Products from URL id

By Chris - December 16, 2009

Hi ferrisj,

'where' => "category LIKE '%\t" . mysql_escape($product_categoryRecord['num']) . "\t%'",

The above code is for multi-value list fields. If your list field is not multi-value (i.e. your products can belong to only one category) you'll want to use this code instead of the above:

'where' => "category = '" . mysql_escape($product_categoryRecord['num']) . "'",

Does that help? Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Detail Page of Products from URL id

Gosh, i was so so close :) Hey, you rock, i really appreciate the help.