[Skip to main content](#vessel-content)

#   Fatal Error (memory) and time outs from variations

##

- **[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")**
- [![kyteasdale's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31211-kyteasdale "View kyteasdale's Profile") Topic Author
- [ Offline](/forum/user/31211-kyteasdale)

Less More

- Posts: 53
- Thank you received: 0
-
-

9 years 6 months ago [\#268949](#268949) by [kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")  *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#268949 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")* was created by *[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")*

I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7 quantities and 4 lamination styles. The variations run into the thousands.

I'm importing these, using the CSV file. But then there are so many variations that I get fatal error (memory) issues trying to access the backend product, and when trying to load the front page it times out.

How can I prevent this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 6 months ago [\#268966](#268966) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#268966 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

Hi,

You won't be able to make it work with som many variants. Please understand that a variant is like a product. And thus, if you have a product with 1000 variants and you try to display its product page, it's like asking to display a listing of 1000 products all displayed on one page. That requires a lot of resources and that's normal that you get a fatal error in that case.
You should reduce the number of variants.
For example, if the 7 quantities don't need stock tracking, you might be able to use a custom item field or an option:
[ www.hikashop.com/support/documentation/i...ct-form.html#options](https://www.hikashop.com/support/documentation/integrated-documentation/19-hikashop-product-form.html#options)
[ www.hikashop.com/support/documentation/4...shop-field-form.html](https://www.hikashop.com/support/documentation/42-hikashop-field-form.html)
Just doing that would divide the amount of data to be loaded by 7 and would greatly help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")**
- [![kyteasdale's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31211-kyteasdale "View kyteasdale's Profile") Topic Author
- [ Offline](/forum/user/31211-kyteasdale)

Less More

- Posts: 53
- Thank you received: 0
-
-

9 years 6 months ago [\#268968](#268968) by [kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")  Replied by *[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#268968 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

That's what I was afraid of!

Options make most sense as they're obviously price variants. Can I import them as options instead of variants or would they need adding individually?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 6 months ago [\#268970](#268970) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#268970 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

You can import both options and custom item fields for products yes.
I don't know the details of your products so I can't say what would make more sense.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")**
- [![kyteasdale's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31211-kyteasdale "View kyteasdale's Profile") Topic Author
- [ Offline](/forum/user/31211-kyteasdale)

Less More

- Posts: 53
- Thank you received: 0
-
-

9 years 6 months ago [\#269070](#269070) by [kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")  Replied by *[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#269070 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

My products are print products. Business cards, flyers, banners, letterhead etc. Many variations, all of which adjust prices.

[ This is an example of business cards.](http://orangereel.co.uk/cards/product/1038-b_cards). Of course, most products have more variations too though, such as product size, folds and paper type.

There is no set price increase to the variations.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 6 months ago [\#269072](#269072) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#269072 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

Hi,

Options can also adjust the price:
[ demo.hikashop.com/index.php/en/hikashop/...ct-page/with-options](https://demo.hikashop.com/index.php/en/hikashop/product-page/with-options)
Also, instead of having a characteristic for the quantity, you could simply use the standard quantity system of HikaShop. If you set the "quantity input" to "select price" and enter the different prices in your product (or the variants) for the different quantities the quantity selector will display as a dropdown with the choices taken from the min quantity of the product (or the variants).
So you should be able to greatly reduce the amount of necessary variants thanks to these.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")**
- [![kyteasdale's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31211-kyteasdale "View kyteasdale's Profile") Topic Author
- [ Offline](/forum/user/31211-kyteasdale)

Less More

- Posts: 53
- Thank you received: 0
-
-

9 years 6 months ago [\#269162](#269162) by [kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")  Replied by *[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#269162 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

I've used options with a price change before, but as I understand it the options use a set pattern. I.e. you set up an Option with Small, Medium and Large, where small=-20, medium=0, and large=+20 or similar?

On my products, there is no pattern. Sometimes large is +20, sometimes -30, sometimes +200. Is it possible to create options without prices? And do you have an example of an CSV import of those?

Thank you for your help ![:D](/media/kunena/emoticons/1.png ":D")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 6 months ago [\#269169](#269169) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal Error (memory) and time outs from variations](/forum/32-content-creation/890125-fatal-error-memory-and-time-outs-from-variations#269169 "I'm trying to set Hikashop set up as a catalogue to showcase my print shop options. The flyers, for example, are available in 8 sizes, with 5 paper types, 2 side options, 6 turnaround options, 7...")*

Hi,

Indeed, you have a "set pattern" for an option.
Now you can always duplicate the option product for each product so that you can set different prices for options of the same name so that they can apply to different product (even though it's a bit heavier to manage as you can potentially end up with a lot of option products).
You sure can have no price for options. Just don't set any. But in that case, I would recommend using custom item fields. They are lighter to manage than options.

Regarding CSV import examples, just create one product like you want. Then, go on the products listing, select that product and click on the "export" button. That will give you a CSV with the categories first and below the product and the options/variants necessary to import it back, so you can base yourself on that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwMTI1LWZhdGFsLWVycm9yLW1lbW9yeS1hbmQtdGltZS1vdXRzLWZyb20tdmFyaWF0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.078 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
