Hello,
I need to tab my attributes. I planned to use the method explained on http://www.ladyada.net/library/zencart/tabs.html which seems to be the most simple to adapt to my case.
People at ladyada.net are adding things in the database which I don't need.
I planned to use sort order to separate attributes in tabs.
First question : which is the smartest, to use attributes sort order or options sort order ?
Then I planned to make a custom tpl_modules_attributes.php file in MY_Template directory and use either
orCode:zen_get_attributes_sort_order($products_id, $options_id, $options_values_id)
(depending on asnwers for question 1) to get the sort order and add css tags in the right place.Code:zen_get_attributes_options_sort_order($products_id, $options_id, $options_values_id, $lang_num = '')
I succeeded in getting the product_id by using $_GET['products_id'] but for the rest $_GET['options_id'] or $_GET['$options_values_id'] doesn't return values.
Can someone give me a hand ?
Later I plan to put an option in Configuration table which would only be a limit for each tab. Imagine the limits for three tabs are 100 and 200, every attributes between 0 and 100 would be in tab 1, between 101 and 200 in tab 2 and so on.
Thanks for your help
Regards
Hubert


Reply With Quote

