| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Product availability and language modification | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Is there a way to show an "Availability -" message on the product pages, with results of "Availability - In Stock" or "Availability - Special Order" etc etc? Ideally this would appear above the Quantity box. I think customers are more used to seeing this than a plain Quantity box, they need reinforcement that the product is available or not.
Secondly, I want to change a language file in X-Cart so that if a quantity is 0 for an item, instead of displaying "Out of Stock" on the product page it would display "Call for Availability." Again I think this is what the customer would prefer seeing. Does anyone know what the exact name of this language file is, I've had a hell of a time finding it..... thanks in advance ![]()
__________________
Steve X-Cart 4.1.2 X-Config, UpSell |
|||||||
#2
|
|||||||
|
|||||||
![]() Take a look at customer/main/product.tpl...it will show you all the code and language variables for this area. What you are looking for is {$lng.txt_out_of_stock}
Moving to Template Editing
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() thanks padraic. will check on this.
__________________
Steve X-Cart 4.1.2 X-Config, UpSell |
|||||||
#4
|
|||||||
|
|||||||
![]() ok, edited that language file no problem, thanks again. now as for adding an Availability feature that dynamically pulls info from the quantities in our database, to display a specific message (either "In Stock" or "Call for Availability" or "Usually Ships in 2-4 Weeks" or whatever) - that seems more customization than editing the product.tpl. am i wrong with that assessment?
__________________
Steve X-Cart 4.1.2 X-Config, UpSell |
|||||||
#5
|
|||||||
|
|||||||
![]() I am trying to figure this one out also, If anyone has any input, it would be greatly appreciated.
__________________
Joe Holley 4.2 |
|||||||
#6
|
|||||||
|
|||||||
![]() Hi, I've checked but don't know this is right way of adding "txt_out_of_stock or not. Would you please check & modify for me?
{if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""} <TR><TD width="30%">Quantity</TD><TD nowrap><SPAN id="product_avail_txt">{if $product.avail gt 0}{$lng.txt_out_of_stock}{$product.avail}</SPAN>{else}No{/if} item(s) available</TD></TR> {/if}
__________________
jef |
|||||||
|
|||
X-Cart forums © 2001-2020
|