Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / When products are added to cart, price goes to zero ($0)!

When products are added to cart, price goes to zero ($0)!

Started by feznizzle on 23 Oct 2013, 7:49 PM · Views: 1,662

Results 1 to 13 of 13
23 Oct 2013, 7:49 PM
#1
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Post #1 by feznizzle

Hi,

I'm having a very strange problem. When certain products are added to cart, price goes to zero ($0). This seems to only be effecting a relatively small number of products, maybe a couple hundred.

Here is an example of a product that fails when added to cart (without the ):
http://sm
tsupplies.com/Material_Handling_Storage/ESD_Bags/Desiccant_Packs_Humidity_Indicator_Cards/CARD_HUMIDITY_INDICATOR_10_20_30_40_REVERSIBLE_HIC

Here is an example of one that works fine when added to cart (without the ):
http://sm
tsupplies.com/Wipes_Swabs/Stencil_Rolls/Stencil_Rolls_for_SMT_Screen_Printer_12_x_39_Core_I.D._0.75

So far as I can tell, the problem seems to only be effecting products under these categories (without the ):
http://sm
tsupplies.com/Material_Handling_Storage/ESD_Bags

I have more than 3000 products, have not tested every one. Here are my product settings (applies to all products, those working and those not):
Prod Type: 1 (General)
Prod Qty: 999999
Tax Class: Taxable Goods
Status: 1

Any suggestions or thoughts?

Thanks,
Mike

23 Oct 2013, 8:18 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

What are your settings in the Product Price Manager on the discounts for:
/Material_Handling_Storage/ESD_Bags/Desiccant_Packs_Humidity_Indicator_Cards/CARD_HUMIDITY_INDICATOR_10_20_30_40_REVERSIBLE_HIC
/Material_Handling_Storage/ESD_Bags/ESD_High_Moisture_Barrier_Bags/BAG_STATSHIELD_EMI_RFI_MBB_6.5_MIL_10INX12IN_100_EA_PACK

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!

23 Oct 2013, 9:00 PM
#3
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Post #3 by feznizzle

I am attaching two screen shots...

Attachment 13236Attachment 13237

24 Oct 2013, 3:39 AM
#4
ajeh avatar

ajeh

Oba-san

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

Post #4 by ajeh

Hit Edit on that screen then Update ... does that fix it?

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!

24 Oct 2013, 12:20 PM
#5
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Post #5 by feznizzle

No, unfortunately that does not seem to help!

I'm getting desperate...

24 Oct 2013, 1:21 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #6 by stevesh

Looking at your first screenshot, shouldn't the 'calculate price' for Discount 1 be the actual price of the item ? When I add from 1-9 of that item to the cart, I get 0.00, but if I add 10 or more I get the proper price, with discount.

24 Oct 2013, 1:56 PM
#7
ajeh avatar

ajeh

Oba-san

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

Post #7 by ajeh

Feznizzle:

No, unfortunately that does not seem to help!

I'm getting desperate...

When you tried the EDIT/UPDATE ... did that one set to Minimum 0 go away?

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!

24 Oct 2013, 2:06 PM
#8
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Post #8 by feznizzle

stevesh, I don't know how I missed that! Too many hours of work, not enough sleep!!!

Ajeh, I just tried your suggestion again. Sure enough, the blank discount disappeared and adding to cart worked.

Thank you guys sooooo much! :)

+++

Any thoughts on how to get all 3000+ to update like that, without having to do them manually?

I will check Easypopulate again, but I don't think I the blank discount 1 was showing up on there...

24 Oct 2013, 2:19 PM
#9
ajeh avatar

ajeh

Oba-san

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

Post #9 by ajeh

Let me peek real quick there should be a simple SQL statement to dump those that you can use ...

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!

24 Oct 2013, 2:23 PM
#10
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Post #10 by feznizzle

This problem does not reveal itself using Easy Populate 4, Model/Price/Breaks.

In other words, when I dump the price break file, v_discount_qty_1 and v_discount_price_1 do not show as zero for problematic products.

That would have been an easy fix!

24 Oct 2013, 2:30 PM
#11
ajeh avatar

ajeh

Oba-san

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

Post #11 by ajeh

First, backup your database ...

Second, make sure that you backed up your database ...

Third, you should be able to run this from either phpMyAdmin or from the Tools ... Install SQL Patches ...

DELETE FROM products_discount_quantity WHERE discount_qty = 0;

That should remove all of those useless Discount Quantities that are throwing off your prices ...

I am not quite sure how they got in there in the first place ... but, there has been added to an upcoming release a bit more of a cleanup when working with Discount Quantities to try to tidy things up a bit more when Adding and Canceling, as the Update already knows to do this clean up ...

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!

24 Oct 2013, 2:47 PM
#12
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Post #12 by feznizzle

Worked like a charm!!!!
:clap::clap::clap:

Thank you, thank you, thank you!

24 Oct 2013, 2:55 PM
#13
ajeh avatar

ajeh

Oba-san

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

Post #13 by ajeh

You are most welcome ... glad to hear all is right with the world once more ... :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!