If this is your first visit, check our documentation. To post, register or login.
Forums / Bug Reports / Order products without attributes (selected attribute was deleted while in basket)

Order products without attributes (selected attribute was deleted while in basket)

Started by davx on 16 Feb 2011, 11:49 AM · Views: 1,079

Results 1 to 6 of 6
16 Feb 2011, 11:49 AM
#1
davx avatar

davx

New Zenner

Join Date:
Nov 2009
Posts:
80
Plugin Contributions:
0

Order products without attributes (selected attribute was deleted while in basket)

Hi Guys

Every now and then we get an order come through with no attributes.

Example:

1 x Bridgedale Trekker Socks

  • :

Although there are attributes set to this product. I have tried to replicate the problem using different browsers, turning off javascript and using mobile clients. However each time I get the correct error message displayed "Please choose a valid option..".

Does anyone have any ideas on how I can find the issue?

Thanks for your time.

Kind Regards

Davx

16 Feb 2011, 12:06 PM
#2
davx avatar

davx

New Zenner

Join Date:
Nov 2009
Posts:
80
Plugin Contributions:
0

Re: Order products without attributes (selected attribute was deleted while in basket)

Found the issue...

  1. Customer adds a product with an attribute to their cart.
  2. Customer logs out.
  3. Attribute is removed by admin (as that size is now out of stock).
  4. Customer logs back in and completes order with no attribute.

Now standard ZC functionality removes products that have been taken offline from the users cart. I think this should take attributes into consideration.

Has anyone created anything to counter this?

If not I will try to update this and release in the add-ons section of the site.

Kind Regards

Dave

16 Feb 2011, 2:27 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order products without attributes (selected attribute was deleted while in basket)

Are you using Stock by Attribute or are you saying that from time to time you physically remove Attributes from a Product and this is happening? :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Feb 2011, 12:21 PM
#4
davx avatar

davx

New Zenner

Join Date:
Nov 2009
Posts:
80
Plugin Contributions:
0

Re: Order products without attributes (selected attribute was deleted while in basket)

Thanks for the reply.

We use sage for our stock control, the product attributes are only for sizing/colour/style.

If the product becomes out of stock in a certain size/colour/style we will pyhsically remove that attribute from the product.

Kind Regards

Davx

22 Feb 2011, 9:50 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Order products without attributes (selected attribute was deleted while in basket)

What version of Zen Cart?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Feb 2011, 12:08 PM
#6
davx avatar

davx

New Zenner

Join Date:
Nov 2009
Posts:
80
Plugin Contributions:
0

Re: Order products without attributes (selected attribute was deleted while in basket)

DrByte

Thanks for the reply.

We are running two stores, one on 1.3.8a and the other on 1.3.9h.

Kind Regards

Dave