close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Product Option Limits?

Thread began 9/16/2009 11:05 am by mswomack307605 | Last modified 9/16/2009 5:24 pm by Ray Borduin | 1342 views | 6 replies |

mswomack307605

Product Option Limits?

I would like to find out what the product option limits are?

Or if you have not tested that part can you tell me what the usable record limits are?

I was in the process of adding options to a single product in my store and managed to kill the store completely. The pages simply won't load anymore. I checked the database and the productoptions table is up to 20k records, the products table is at 2200.

This is due to the reference method used for product options I am guessing. I have a single product in the store, the product has 8 options with 4 choices per option. (basically it's a configurator).

Sign in to reply to this post

Ray BorduinWebAssist

The problem is in the way we do options in order to maintain inventory on them.

The issue is that if you have 8 options and 4 choices per, you will end up having

4 to the power of 8 products 4 to the power of 9 product options in the productoptions table.... which really slows things down... in your case to a halt. The precise number probably depends on your computer statistics, but really more than a couple hundred combinations will begin showing clear performance problems.

Our solution will be to handle "uninventoried" options differently in the next update of powerstore. By not worrying about inventory we can drastically simplify the database structure and how the system works. Unfortunately there is little you can do it he current version without hand coding to get around the problem with large numbers of options.

Sign in to reply to this post

mswomack307605

Do you have an eta on when the next iteration is expected?

I can re-structure the database without a problem but making sure I incorporate the changes everywhere in the PHP would be a task for me.

Sign in to reply to this post

office172461

Just a thought

Would it be possible for you to have 8 products to take care of the first 8 options and then add options to each of the 8?

So instead of:
Widget, color, size, etc.

You could have:
Red widget, size, etc.
Blue widget, size, etc.
Yellow widget, size, etc.
etc.

That would simplify it quite a bit.

Sign in to reply to this post

mswomack307605

Due to the way the options and products are stored wouldn't that be the same thing?

Unless I am missing something I would still have the same number of records?

Is there a way I can take inventory checks out of the picture completely? Inventory tracking is not something I need currently.

Sign in to reply to this post

office172461

I'm not real sure how options are stored, but the tree would flow up to 8 points instead of everything flowing up to a single point. I would think that would greatly reduce the amount of data processed per item.

This is from an earlier post from Dani Chankhour:

"If you don't want to use Inventory, then just make sure to check the Unlimited Inventory check box. If you want this checkbox always checked, then add this to your check box input field (line 477 of your product insert page):

checked="checked" "

Sign in to reply to this post

Ray BorduinWebAssist

It will likely be several months before a new version will be publicly available. We are just beginning development.

Unfortunately, even if you don't use inventory, the database structure is set up to support it and you will run into this limitation.

By creating 8 products as suggested, it will make it 8x faster to load an individual page, but you will still have 4 to the power of 7 iterations, which would probably still slow things considerably.

You shouldn't have to account for it "everywhere"... you should only need to account for the updates in the admin section when updating options and in the details page, but that isn't to imply it would be simple for someone without pretty extensive knowledge of code and database design to figure it out.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...