Forums / Setting Up Categories, Products, Attributes / Make items in cart disappear from catalog

Make items in cart disappear from catalog

Started by vintageshop on 4 May 2013, 9:07 PM · Views: 3,178

Results 1 to 20 of 26
4 May 2013, 9:07 PM
#1
vintageshop avatar

vintageshop

New Zenner

Join Date:
Mar 2013
Posts:
10
Plugin Contributions:
0

Make items in cart disappear from catalog

Hello all,

Okay, so I've seen other discussions in this area, but I have read those threads and not found any fixes that work. I'm a new zen cart user and I'm trying to get this set up for me shop selling one of a kind items. Which means each item should disappear from the catalog when added to the cart. I don't want it to as sold out, I would prefer it to simply disappear. Site is below, I have a few test items in the jackets/crested category. I hope to eventually set it so that when you go to jackets it displays all of the items in the subcategories. I've seen some threads about that, but I haven't had time to try to apply them. Still not sure why that setting for showing subcategories didn't become a setting in the admin panel.

Here is a link to my site:

http://brownandwilliamsclothiers.com/BW/shop/

It's been an uphill battle in my mind getting this set up. I feel that I'm getting close, but every time I open a new module I find a new error that needs to be fixed or tweaked. This problem with items not disappearing happens in the classic and my custom template. Any help is appreciated!

Cheers,
Christopher

4 May 2013, 9:15 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Make items in cart disappear from catalog

What's your setting in Admin - Stock - Products status in Catalog when out of stock should be set to ? Remember that Zencart only subtracts stock when a product goes through the checkout process, so you can't just set the product quantity to 0 to simulate out-of-stock.

4 May 2013, 9:21 PM
#3
vintageshop avatar

vintageshop

New Zenner

Join Date:
Mar 2013
Posts:
10
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

Here are my stock settings in configuration:

Check stock level true
Subtract stock true
Allow Checkout false
Mark product out of stock 0
Stock Re-order level 1
Products status in Catalog when out of stock should be set to 0
Show Sold Out Image in place of Add to Cart 1
Product Quantity Decimals 0
Show Shopping Cart - Delete Checkboxes or Delete Button 3
Show Shopping Cart - Update Cart Button Location 2
Show New Products on empty Shopping Cart Page 1
Show Featured Products on empty Shopping Cart Page 0
Show Special Products on empty Shopping Cart Page 0
Show Upcoming Products on empty Shopping Cart Page 0
Show Notice of Combining Shopping Cart on Login 1

I was trying to test this by adding the item to the shopping cart, but when I hit continue shopping it took me back to the same product and allowed me to add the item again. It then generated an error, but it didn't let me change the quantity in the shopping cart, which also seems to be a glitch. I did apply the add on for row display of items instead of a single column, but the error seems to be in the classic and custom template.

Any help is greatly appreciated!

Christopher

4 May 2013, 9:54 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Make items in cart disappear from catalog

Again, the stock is only decremented when the product goes through the entire checkout process. Try creating a product with a very low price and actually 'buy' it by checking out. When you go back to the store, that product should be not listed.

4 May 2013, 10:24 PM
#5
vintageshop avatar

vintageshop

New Zenner

Join Date:
Mar 2013
Posts:
10
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

Thank you for the reply. Since my site isn't "live" I can't go through the entire purchase process, unless I can make an item free. I guess then it might go through the entire checkout Still, this causes a problem since a person can add two of the same item when shopping even though there is only one. There also appears to be no way to change the quantity back to 1 after it has been increased to 2. Are you saying that there no way to remove an item from the catalog while it is in the shopping cart of another user? This is done in other store software? Is there a mod to add this?

Okay, so I created a free item and went through the entire process and indeed it disappeared. I'm just concerned about the ability to add multiple products even though the quantity is listed as only 1 in the system. It also makes me wonder about the chance of two people adding the item to their carts and ordering them at the same time. SHouldn't it be help while it is in one persons cart?

5 May 2013, 12:54 AM
#6
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Make items in cart disappear from catalog

vintageshop:

Thank you for the reply. Since my site isn't "live" I can't go through the entire purchase process, unless I can make an item free. I guess then it might go through the entire checkout Still, this causes a problem since a person can add two of the same item when shopping even though there is only one. There also appears to be no way to change the quantity back to 1 after it has been increased to 2. Are you saying that there no way to remove an item from the catalog while it is in the shopping cart of another user? This is done in other store software? Is there a mod to add this?

Okay, so I created a free item and went through the entire process and indeed it disappeared. I'm just concerned about the ability to add multiple products even though the quantity is listed as only 1 in the system. It also makes me wonder about the chance of two people adding the item to their carts and ordering them at the same time. SHouldn't it be help while it is in one persons cart?If there is only one in stock and you don't want folks trying to buy more than one, then configure your product so that the quantity field doesn't display.. you can also specifiy maximum purchase quantity to be REALLY sure that one one per customer is slected.. (you should see this in the product setup.. it's pretty self explanatory)

As for two people adding the same product at the same time, he who completes the checkout first wins.. the other person will be notified that the product is out of stock when they attemp to complete their checkout..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

5 May 2013, 1:11 AM
#7
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

vintageshop:

Hello all,

Okay, so I've seen other discussions in this area, but I have read those threads and not found any fixes that work. I'm a new zen cart user and I'm trying to get this set up for me shop selling one of a kind items. Which means each item should disappear from the catalog when added to the cart. I don't want it to as sold out, I would prefer it to simply disappear.

So I come to your shop and add to cart "ALL" your one of a kind items and then I just sit there being a pain in the a**.
All these items are now unavailable to "real" buyers.
How do you deal with someone like me?
You are assuming that browsers who "add to cart" have some intention of actually buying the items. I can tell you that browsers add to cart for lots of other reasons.
And by doing so you want to prevent real customers from purchasing???

This is a question that has been discussed many times.
You want to actually sell your one of a kind items, don't you?
Then allow everyone to add them to your cart.
and post a big message that "these are one of a kind items"
and just because it is in their cart its NOT theirs...
until they complete the checkout and pay for the item
.

So first to checkout gets the item.
All others who have it in their cart will find it magically disappears.

Item sold, you're happy
Customer who checked out first got it, they're happy
The rest... well they learned a lesson to check out faster.

imo.

5 May 2013, 4:57 PM
#8
vintageshop avatar

vintageshop

New Zenner

Join Date:
Mar 2013
Posts:
10
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

gilby:

So I come to your shop and add to cart "ALL" your one of a kind items and then I just sit there being a pain in the a**.
All these items are now unavailable to "real" buyers.
How do you deal with someone like me?
You are assuming that browsers who "add to cart" have some intention of actually buying the items. I can tell you that browsers add to cart for lots of other reasons.
And by doing so you want to prevent real customers from purchasing???

This is a question that has been discussed many times.
You want to actually sell your one of a kind items, don't you?
Then allow everyone to add them to your cart.
and post a big message that "these are one of a kind items"
and just because it is in their cart its NOT theirs...
until they complete the checkout and pay for the item
.

So first to checkout gets the item.
All others who have it in their cart will find it magically disappears.

Item sold, you're happy
Customer who checked out first got it, they're happy
The rest... well they learned a lesson to check out faster.

imo.

Yes, this ability to subtract things from the catalog can be an issue, but the cart expires in relative short order unless you sit there and keep actively updating it. Certainly this is the way many shopping cart programs work on different websites, gilt.com comes to mind. So, the risk of this shouldn't be that severe.

Still this doesn't address the other issue that even when setting an item to having only one in stock and a max of one (as suggested in the other post) you can add the item multiple times to the cart. Granted you get an error when you do this, but then you can only correct the issue by deleting that item completely from your cart and starting over. Some of this may be removed if there is a way to change the continue shopping button to take you back to the top of the catalog as opposed to back to the same item that you just added.

I didn't see a fix to any of these issues off hand, which is why I started the thread. IF anyone could point to a fix it would be greatly appreciated!

5 May 2013, 6:56 PM
#9
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Make items in cart disappear from catalog

vintageshop:

Still this doesn't address the other issue that even when setting an item to having only one in stock and a max of one (as suggested in the other post) you can add the item multiple times to the cart. Granted you get an error when you do this, but then you can only correct the issue by deleting that item completely from your cart and starting over. Some of this may be removed if there is a way to change the continue shopping button to take you back to the top of the catalog as opposed to back to the same item that you just added
If you are referring to TWO people adding the same item to their cart at the same time, then yes you are right.. the settings I suggested won't prevent that scenario.. It will prevent any single shopper from adding more than one of that product to the cart.. However as several of us have explained the one who completes their checkout first will cause the product to no longer be displayed in the store, and anyone who might have had the same item in their cart at the same time will get an on-screen message informing them that the item is no longer available.

Now this is how it works, and if you want it to work differently you will need a fair bit of custom coding to make it work the way you want (remove product from inventory upon adding an item to the cart). If no one volunteers to provide this, your option is to hire a developer to create it for you or use one of the other software packages you say already provide this functionality for you..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

5 May 2013, 11:16 PM
#10
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

vintageshop:

Yes, this ability to subtract things from the catalog can be an issue, but the cart expires in relative short order unless you sit there and keep actively updating it. Certainly this is the way many shopping cart programs work on different websites
So now after "removing" the item from stock you will have to keep track of existing carts so that when they "expire" the product will "magically" appear "back in stock" for customers who could have already purchased it if you hadn't prevented them from doing purchasing it earlier.

From their "point of view" they see the item as available
Then its NOT available.
Then later its available again???

What about a customer who is "logged in", their cart will be "saved" for the next time they login to the website. Do you still want them to have the item "exclusively", forever?

5 May 2013, 11:26 PM
#11
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,735
Plugin Contributions:
56

Re: Make items in cart disappear from catalog

vintageshop:

Thank you for the reply. Since my site isn't "live" I can't go through the entire purchase process, unless I can make an item free.

Clarification on this: you can install either the COD payment module or the Check/Money order payment module, and test your checkout and order processing.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 May 2013, 12:21 AM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

gilby:

You are assuming that browsers who "add to cart" have some intention of actually buying the items. I can tell you that browsers add to cart for lots of other reasons.
Absolutely correct here. After building and managing a couple of hundred eComm sites over the last 10 years, I can attest that this is true. More than half the customers on a site at any one time will have items in their cart. They MOSTLY do it to "keep track" of what they viewed - even when a "recently viewed" function is available to them. Some will have upwards of fifteen or twenty products in the cart. In MANY cases, these customers abandon the site, leaving the session live and the items lingering in a purposeless cart.

Under your "scheme", these would all then be unavailable for other customers.

Summary of your idea? It's dumb...

gilby:

So first to checkout gets the item.
All others who have it in their cart will find it magically disappears.

Item sold, you're happy
Customer who checked out first got it, they're happy
The rest... well they learned a lesson to check out faster.

imo.[/QUOTE]

IMO too... Checkout is the point at which it all matters.

20 years a Zencart User

6 May 2013, 9:41 PM
#13
vintageshop avatar

vintageshop

New Zenner

Join Date:
Mar 2013
Posts:
10
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

gilby:

So now after "removing" the item from stock you will have to keep track of existing carts so that when they "expire" the product will "magically" appear "back in stock" for customers who could have already purchased it if you hadn't prevented them from doing purchasing it earlier.

From their "point of view" they see the item as available
Then its NOT available.
Then later its available again???

What about a customer who is "logged in", their cart will be "saved" for the next time they login to the website. Do you still want them to have the item "exclusively", forever?

That last is an interesting point. You are saying that zencart will save the cart indefinitely for logged in customers, which would definitely cause a problem with the model I was thinking of. In some other carts I've seen it where the cart tells people that the item is in someone's shopping cart and may be available again later. I guess if the item will disappear after from one cart after purchasing then it will alleviate some of the problem.

It still doesn't stop the fact that zencart allows you to add an item multiple times even though you set the maximum limit to 1 and the stock number is 1. Certainly a developer can do anything I suppose, I may go that route, but I was first trying to explore the options within the available coding before looking at more customization.

Thanks to everyone for the input!

6 May 2013, 10:06 PM
#14
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Make items in cart disappear from catalog

vintageshop:

It still doesn't stop the fact that zencart allows you to add an item multiple times even though you set the maximum limit to 1 and the stock number is 1. Certainly a developer can do anything I suppose, I may go that route, but I was first trying to explore the options within the available coding before looking at more customization.

Thanks to everyone for the input!Not sure why you keep saying this.. Have you tested the checkout process to see how it all ties together. Your statements give the impression that you have not...

If you configure products so that you remove the quantity box (Products Quantity Box Shows: No) AND set the product maximum to 1 (Product Qty Maximum: 1), the quantity box no longer shows on the product info page NOR does it appear in the shopping cart. If a customer adds this product again (and they can only do this from the product_info page, they are given a GREAT BIG warning that they CANNOT add this product again in a single session, that the item is out of stock (because it's in their cart) AND (to be doubly sure the customer can't do this) the store prevents them from checking out and completing the purchase until they fix their cart..

Please update your order.
The item: Matrox G200 MMS ... Maximum Quantity errors -
You ordered a total of: 2 Max: 1

Products marked with *** are out of stock.
Items not in stock will be placed on backorder.

Suggest you try testing the entire checkout process so you can see how it works.. You can test many of the things you've been informed about how the checkout functions that we've all shared here.. You might want to do that before running out to get a developer to create functionality you probably do not need..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

6 May 2013, 11:03 PM
#15
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

vintageshop:

It still doesn't stop the fact that zencart allows you to add an item multiple times even though you set the maximum limit to 1 and the stock number is 1. Certainly a developer can do anything I suppose, I may go that route, but I was first trying to explore the options within the available coding before looking at more customization.

DivaVocals:

Not sure why you keep saying this.. Have you tested the checkout process to see how it all ties together. Your statements give the impression that you have not...I suspect its a misunderstanding about how the cart works.
Setting the max to one allows a customer to ONLY add one to their cart.
But it also allows 10 other people to do the same.

vintageshop wants this to mean ONLY one person can add it to their cart exclusively.
Thats NOT how it works.

If you have only one in stock that means ONLY one can be SOLD thru checkout
It doesn't mean (as you want it to mean) that only can be in one of the customers carts at the same time.

6 May 2013, 11:12 PM
#16
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Make items in cart disappear from catalog

gilby:

I suspect its a misunderstanding about how the cart works.
Setting the max to one allows a customer to ONLY add one to their cart.
But it also allows 10 other people to do the same.

vintageshop wants this to mean ONLY one person can add it to their cart exclusively.
Thats NOT how it works.

If you have only one in stock that means ONLY one can be SOLD thru checkout
It doesn't mean (as you want it to mean) that only can be in one of the customers carts at the same time.

Ahhh that makes sense..

Seems like the OP is determined to make this work the way he thinks it should work. I'm not sure he fully understand the full scope/impact that will be required to implement this change with custom development.. (which is why a full solution is unlikely to be posted here on the forum)

As others have pointed out it seems to be a LOT of effort over what will be an EXTRAORDINARY/EXCEPTIONAL set of circumstances. On top of that if two people DID add the same item at the SAME time as long as the customer who lags in checking out is provided CLEAR on-screen messages about what has transpired, why go through this extraordinary development effort.. What is the gain from the shopper's POV and what is gain for the shopowners POV?? Will this HELP sales?? (not likely)

That said if the OP is SET on walking down this path.. Will it take a LOT of development effort to achieve correctly?? Proabably since the changes he wants affect inventory management, saved carts/sessions, product page behavior, product listing behavior, shopping cart behavior, and probably other areas I can't think of right now off the top of my head..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

6 May 2013, 11:53 PM
#17
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,735
Plugin Contributions:
56

Re: Make items in cart disappear from catalog

vintageshop:

Yes, this ability to subtract things from the catalog can be an issue, but the cart expires in relative short order unless you sit there and keep actively updating it. Certainly this is the way many shopping cart programs work on different websites, gilt.com comes to mind. So, the risk of this shouldn't be that severe.

This is NOT the way many shopping cart programs work. The fact that gilt.com has a timeout feature does not mean it works the way you are suggesting. YES this risk is severe. Most shopping carts are abandoned, not fulfilled. And you'd be turning down people who were actually willing to give you money just because someone else had made the incredibly low commitment of adding something to their cart. This makes no sense at all.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 May 2013, 12:00 AM
#18
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

swguy:

This is NOT the way many shopping cart programs work. The fact that gilt.com has a timeout feature does not mean it works the way you are suggesting. YES this risk is severe. Most shopping carts are abandoned, not fulfilled. And you'd be turning down people who were actually willing to give you money just because someone else had made the incredibly low commitment of adding something to their cart. This makes no sense at all.This says it all really!

7 May 2013, 1:16 AM
#19
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Make items in cart disappear from catalog

swguy:

This is NOT the way many shopping cart programs work. The fact that gilt.com has a timeout feature does not mean it works the way you are suggesting. YES this risk is severe. Most shopping carts are abandoned, not fulfilled. And you'd be turning down people who were actually willing to give you money just because someone else had made the incredibly low commitment of adding something to their cart. This makes no sense at all.

Well stated.. As schoolboy said.. it's a DUMB idea, and Scott is right.. it makes no sense..

If it don't make dollars, then it don't make sense.. This idea will COST money while potentially LOSING income in the process..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

7 May 2013, 2:11 AM
#20
vintageshop avatar

vintageshop

New Zenner

Join Date:
Mar 2013
Posts:
10
Plugin Contributions:
0

Re: Make items in cart disappear from catalog

DivaVocals:

Not sure why you keep saying this.. Have you tested the checkout process to see how it all ties together. Your statements give the impression that you have not...

Yes, I tested it and I see the error. An error that can only be fixed if the user deletes all of that item from the cart and starts over. I was wondering why this was allowed. Why not give the error, but not increase the number of items in the cart beyond 1? My cart will keep adding items so long as you go to the item again and hit add to cart without any seeming limit. I understand it probably would not let you check out, I just wanted to prevent the entire ability to have more than one in your cart. I posed the possibility of shifting the continue shopping button so it didn't immediately take you back to the same item that you just added to your cart. This would cause less temptation or mistakes in trying to add it again.

Many people seem to think this is a dumb idea. Maybe. I've seen it work for other sites so I would say not everyone agrees with this assessment. Still if zencart saves the cart for logged in users then this isn't something that would be easy to apply, but before I abandoned the idea I wanted to see if I was missing something within the zencart structure. Seems I'm not. This is just the way it is programmed to work.