- Posts: 18
- Thank you received: 2
Problem when selecting options
- barkingmoonbat
-
Topic Author
- Offline
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5
-- PHP version -- : 5.5.3
-- Browser(s) name and version -- : Chrome 33.0.1750.146 m
-- Error-message(debug-mod must be tuned on) -- : Error_message none
I have a test product with three options. When I select options, the page loads very slow with out the template
or I get this error Fatal error: Maximum execution time of 30 seconds exceeded in /home/trimitan/public_html/components/com_hikashop/views/product/view.html.php on line 1705
Any help would be greatly appreciated
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
If your product have characteristics, can you tell me how many value these characteristics have ?
Thanks
Please Log in or Create an account to join the conversation.
- barkingmoonbat
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 2
1 has 5
2 has 16
3 has 16
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
You have too much possibilities. For example, if you have 3 characteristics with 10 values each, that's 10*10*10=1000 possibilities. That's already too much.
You should indeed transform some characteristics into custom fields ( www.hikashop.com/en/support/documentatio...p-field-listing.html ) or options ( www.hikashop.com/en/support/documentatio...ct-form.html#options ) so that it becomes more manageable for your server.
Characteristics should only be used when you want to change some of the information on the products (the stock, the price, the image, etc). For choices which do not affect any of that custom fields of the table "item" are the way to go.
Note that in your case you have : 5*16*16=1280 possibilities.
Please Log in or Create an account to join the conversation.