Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add Out of Stock to Cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-14-2011, 01:29 AM
 
kom kom is offline
 

Member
  
Join Date: Jan 2008
Posts: 15
 

Default Add Out of Stock to Cart

How to modify X-cart 4.4.2 able to add "Out of Stock" product to cart. I need customer to able to add it. (Made to order product available.)
__________________
X-Cart 4.4.2
Reply With Quote
  #2  
Old 04-14-2011, 07:11 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Add Out of Stock to Cart

Turn off inventry tracking from admin general settings
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 04-14-2011, 08:53 AM
 
kom kom is offline
 

Member
  
Join Date: Jan 2008
Posts: 15
 

Default Re: Add Out of Stock to Cart

Yes, but when we turn it off, product inventory isn't show. I want to show product inventory in case product in stock.

In stock - Show how much in stock
Out of stock - Show, this is made to order items, please wait 2-3 weeks to process before shipping.


Both type, able to add to cart. I try to modify product_details.tpl and it doesn't work. (May be I don't know how to correctly.

Does anyone has some solutions?
__________________
X-Cart 4.4.2
Reply With Quote
  #4  
Old 04-14-2011, 07:35 PM
 
a333 a333 is offline
 

Member
  
Join Date: Jul 2010
Posts: 25
 

Default Re: Add Out of Stock to Cart

this sounds like a good feature to have as it would also allow customers to purchase items on pre-order which i guess is essentially what your situation is too.

something like this should be included with xcart for "pre-orders" on the item admin page.
__________________
xcart 4.4.3
Reply With Quote
  #5  
Old 04-15-2011, 02:40 AM
 
candc candc is offline
 

eXpert
  
Join Date: Jul 2009
Location: UK
Posts: 292
 

Default Re: Add Out of Stock to Cart

BCSE do a preorder/backorder mod that works very well.
__________________
Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
MM OPC - Gave up with it
Altered Cart OPC
XMobile
Powered by EWD

Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
Altered Cart OPC
XMobile
Powered by EWD
Reply With Quote
  #6  
Old 04-23-2011, 01:37 AM
 
kom kom is offline
 

Member
  
Join Date: Jan 2008
Posts: 15
 

Default Re: Add Out of Stock to Cart

Now, I found solution.

1. Disable order tracking in General Setting.

2. Modify templeate product_details.tpl

{*if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""*}
<tr>
<td class="property-name">{$lng.lbl_in_stock}</td>

<td class="property-value product-quantity-text" colspan="2">
{if $product.avail gt 0}
{$lng.txt_items_available|substitute:"items":$prod uct.avail}
{else}
{$lng.lbl_no_items_available}
{/if}
</td>
</tr>
{*/if*}

3. Edit lbl_no_items_available and txt_items_available in Language setting.

That's all.
__________________
X-Cart 4.4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:47 AM.

   

 
X-Cart forums © 2001-2020