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

'Instock', 'Out of Stock', 'Backorder', 'Discont..' Buttons?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 04-28-2005, 10:42 AM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

Hi

Edit skin1/customer/main/product.tpl

Code:
{if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""} <TR><TD width="30%">{$lng.lbl_quantity}</TD><TD class="InStockText" nowrap><SPAN id="product_avail_txt">{if $product.avail gt 0}Item(s) In Stock</SPAN>{else}<SPAN class="OutOfText" nowrap>Item(s) out of stock (1-3 days)</span>{/if}</TD></TR> {/if} {if $product.weight ne "0.00"}<TR><TD width="30%">{$lng.lbl_weight}</TD><TD nowrap><SPAN id="product_weight">{$product.weight}</SPAN> {$config.General.weight_symbol}<SPAN class="WeightText" nowrap> (Postage is calculated by weight)</SPAN></TD></TR>{/if}

Hope that helps
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #12  
Old 04-28-2005, 12:00 PM
 
WPOO WPOO is offline
 

Advanced Member
  
Join Date: May 2004
Location: Delft - Netherlands -
Posts: 31
 

Default Is it possible to do the same but then in products

I would like to do this but het in the list with products
__________________
X-Cart Gold 4.13
X-Configurator
X-ROM
Easy Checkout
Reply With Quote
  #13  
Old 05-02-2005, 02:29 AM
 
WPOO WPOO is offline
 

Advanced Member
  
Join Date: May 2004
Location: Delft - Netherlands -
Posts: 31
 

Default In/Out stock on the products page

Anyone know how to get this to show up on the products.tpl

Thanks in Advance,

WP
__________________
X-Cart Gold 4.13
X-Configurator
X-ROM
Easy Checkout
Reply With Quote
  #14  
Old 06-17-2005, 07:46 PM
 
Maree Maree is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default

I'd be interested in a mod (3rd party or otherwise) that would do this. Not really sure if this belongs in a wishlist for XCart to consider or not..ButhHere is a link that has Currently IN stock, Shipment Arriving Soon, Pre-Order New Release indicators which would be ideal.
http://gamehead.com.au/home.php?cat=175
__________________
Maree
4.0.13
Reply With Quote
  #15  
Old 06-19-2005, 04:34 AM
 
Bella Forma Bella Forma is offline
 

Senior Member
  
Join Date: Nov 2004
Location: Australia
Posts: 150
 

Default

Have a word with Garry at X-Cart Plus http://www.x-cart-plus.com

He has recently done a mod for my website which is much more complex than the one your talking about so it shouldn't be difficult for him to do yours. You can see the mod he did here http://www.bellaforma.com.au/shop/Daisy-Underwire-Bra-p-1-pr-16195.html

The stock grid is Garry's work and the key shows the various types of stock I can have. It works like a dream and I can highly recommend Garry he's a great bloke
__________________
X-Cart Gold 4.0.12
X-AOM, X-RMA, X-FancyCat
Apache/Linux Server
PHP 4.3.8
Reply With Quote
  #16  
Old 02-03-2006, 03:22 AM
 
garryhs garryhs is offline
 

Senior Member
  
Join Date: Sep 2002
Location: Australia
Posts: 159
 

Default Hi

I am just having a look around the forum for 5 minutes, I hardly ever get on here.

I have never read this thread before.

Thanks for those kind words, that mod was completed and is available on my site, and yes I did develop it even further, so it is great for any store that sells variations of products, for just colors to colors and 2 sizes, or now just 2 sizes, that can be mapped into a grid.

It is located at: http://x-cart-plus.com/au/xcart/product.php?productid=40&cat=2&page=1

Sorry about the price tag, but requires installation by us, and takes a few hours.

Regards,

Garry
__________________
All versions of X-Cart

Been in eCommerce 10 years, Coding, PM, SEO, Social. X-Cart 11 years. IT 30+ years.

Head of Web Dev for Australia's largest eCommerce 2 years.

Attended conferences, Velocity 2009 US, CeBit 2009, MySQL 2010 US, Online Retailer 2010, Web 2.0 2011 US, MySQL 2012 US (Percona).

Specialise in High Performance, High Volume, PHP, MySQL, HTML, CSS, JAVASCRIPT, SMARTY, MEMCACHED, APACHE, LIGHTTPD, FREEBSD, LINUX.

Email your requests to xcart@gazwebtech.com
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 02:23 AM.

   

 
X-Cart forums © 2001-2020