| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding text to products.tpl | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() that would be the out of stock items.
__________________
xcart 5.1.2 |
|||||||||
#12
|
|||||||||
|
|||||||||
![]() In product page:
Try this: {if $product.avail eq "0" or if $product.avail lt "0" } Enter your text here.. {/if}
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#13
|
|||||||||
|
|||||||||
![]() that didn't work. There has to be a way to get the pre-order value because product.tpl is getting it just fine but products.tpl isn't.
__________________
xcart 5.1.2 |
|||||||||
#14
|
|||||||||
|
|||||||||
![]() Hi,once you said i have tested it in both products.tpl and product_t.tpl.
It is coming up. So try it again.Even you can see the $products[product].avail in theabove mentioned file by default because xcart have already used that value to check some other condition. Quote:
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#15
|
|||||||||
|
|||||||||
![]() Aren't you kind of beating yourself up on this? What it seems you are trying to do is sell a product that is out of stock (pre-order IS out of stock). Wouldn't the easy solution be to add the number you have on order for the pre-ordered items and sell them normally as you would a "backordered" item?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|