Remove item when purchased

General ShopSite user discussion

Remove item when purchased

Postby thinkdolphin » Thu Aug 27, 2009 10:17 am

Is there a way to have the item in the store removed or viewed with a SOLD next to it when the item has been purchased? If not, is there any other solution for something like this?
thinkdolphin
 
Posts: 1
Joined: Thu Aug 27, 2009 10:13 am
Location: Butler, PA

Postby Jim » Thu Aug 27, 2009 1:37 pm

Since ShopSite generated pages are static there is no way to automatically do that.

If you have a Pro level store you can turn on inventory tracking and set the quantity of the product. Each order the quantity will be reduced and when there are no more left the shopper will receive a message that the product is out of stock.

You could also create a custom template to check the quantity on hand and if it is 0 to display a Sold Out image or text. You would need to do a publish frequently to have the store up to date with the quantity.

There are also 2 template tags that can display the quantity available to the Shopper.
[-- ProductInventoryPopUp {link name} --] Create a link that will make a pop-up window displaying the Quantity On Hand, where link name is the text for the link.

[-- ProductInventoryActual path_to_shopping_cart_cgi {description text} --] Display current Quantity On Hand on the page using Server Side Includes (SSI), where description text appears before the number.

These options are more advanced. The first one would require the shopper click on a link to see the quantity on hand. The second one requires Server Site Includes to be enabled on the server.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 120 guests