• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

phillika
#1 Posted : Wednesday, December 23, 2009 4:49:54 PM(UTC)
phillika

Rank: Member

Joined: 1/28/2008(UTC)
Posts: 14

I want to change my Site Term for not enough product availble to say: "There are only ## of %ProductName% in stock." where ## shows how many of that product is available to order. This way the customer doesn't have to revise the quantity downward blindly trying to guess how many items are in stock.


The question is: what's the variable for Quantity Available? I tried %QuantityAvailable% and other variations it just shows the word rather than the value.
Narrowpath
#2 Posted : Tuesday, December 29, 2009 12:34:19 PM(UTC)
Narrowpath

Rank: Member

Joined: 9/20/2006(UTC)
Posts: 92

[color=black>KP,</FONT>


The only variable currently available is the "Product Name". Adding a new variable for "Quantity Available" would require modification to several files.

[color=gray><FONT][/color]

[color=gray>%ProductName%</b> gets replaced with the lineItem.ProductName[/color]

[color=gray></FONT>


Code:

MessageBox1.ShowInformation(Content.SiteTerms.ReplaceTermVariable(Content.SiteTerms.GetTerm("CartNotEnoughQuantity"), "ProductName", lineItem.ProductName))


[color=black>[/color]

[color=black>Feel]

<FONT color=#000000>[/color][/code]


<HR align=left][1]

[/1][/color]
Wallace Miller -- Narrowpath Design
Providing installation, custom development, and design services for BVC5 sites
<FONT color=red>24/7 tech support and consultation service available for BVSoftware E-Commerce
760.728.8679 (phone)
[email protected]
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012