MiniCart problem

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

MiniCart problem

Post by heinscott » Thu Jun 26, 2008 12:52 pm

Just wanted to see if anyone else experienced this...
I have my products setup as kits, where you can select sizes and case quantities...
All are contained in a single drop-down list...
The problem I am having is this...
I have a header in the drop down list that says 'Select a Product Size'...
If the Add to Cart Button is clicked when there is no size selected, an instance of the product with 0 price is added to the cart.
Is there a fix for this? This would most assuredly be confusing to the customer.

Thanks

Scott

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: MiniCart problem

Post by heinscott » Fri Jun 27, 2008 7:33 am

I was able to find a solution to this problem, but, now I have another....
When someone does not select an option, and hits the add to cart button, is there a built in method to determine whether a valid option/kit has been chosen from the drop down list? Ideally, I would like to have a popup show up and say "Please Select a Kit Size.... etc.. from the Drop Down Menu" when the header option is selected.
Is this in the code already? I had to rearrange my BuyProductDialog page, and may have inadvertently messed up the section that verifies kitting. Can anyone tell me how I can accomplish error checking on this??
Thanks so much for any help.

Scott

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: MiniCart problem

Post by jmestep » Fri Jun 27, 2008 7:42 am

What build are you using?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: MiniCart problem

Post by heinscott » Fri Jun 27, 2008 8:45 am

Build 9381.
I will be upgrading soon, but, am in the middle of some customizations that I need to finish first.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: MiniCart problem

Post by jmestep » Fri Jun 27, 2008 10:34 am

I checked my build 9381 and if I didn't select a kit, it added the main product to the cart at the main product price, which is what it should do. On the options, if I didn't select an option, it prompted me to select one. All the variations with kits and options worked for me.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: MiniCart problem

Post by heinscott » Fri Jun 27, 2008 11:06 am

Sorry... I guess I should clarify...
I probably use kits differently than most...
We need to have different sizes of each product, each with their own sku. Also, we want to have case quantities of these particular items available. As such, the easiest way I've come up with to accomplish this is to set up kits of sku, and all working through a dummy product that has a price of zero. As such, I guess the built in option to "auto-select" the parent product won't work, as that would add a product with no price to the cart. To get around this, I just do a check for a zero price... I'm wondering if it is possible to use the same check to determine if a valid kit option is selected.
If I am using kits in a way that wasn't expected, I guess I should assume that is why things are not working the way I would like.
Thanks for your help anyway, Judy!

Scott

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: MiniCart problem

Post by jmestep » Fri Jun 27, 2008 1:39 pm

If they shouldn't buy the product without a selection, maybe the best way would be to remove the kit select box header and set a default. Then they could pick something else if they didn't want the default.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: MiniCart problem

Post by heinscott » Fri Jun 27, 2008 2:11 pm

I totally agree with you... unfortunately, my boss really liked the idea of having them required to choose an option.
I had it all working without the header title, and then he wanted it changed...
Certainly would have made my life a lot easier!
Thanks again Judy :)

Post Reply