![]() |
Age Calculation for 4.4.x
Based on this thread from the the 4.3.x forum http://forum.x-cart.com/showthread.php?t=53578
My client now has me building another web page. Instead of calculating how old the dog is based on the day/month/year. He now wants to plug in how it will before the dogs are old enough to be delivered. So then the customers know when the dog will be available for delivery. I need it to say something like: "Wally will be available for delivery on 3/1/2012" I tried plugging in this code in the product_details.tpl, but I can't get anything to display, but the Extra Field Values. Code:
<tr> I added it in before Code:
{if $config.Appearance.show_in_stock eq "Y" && $config.General.unlimited_products ne "Y" && $product.distribution eq ""} Here's the original age.tpl Code:
{* |
Re: Age Calculation for 4.4.x
Do you see the code when you view the page source? Did you see any errors in Error Console (Firefox) or Firebug Console? Those are the two places I would start.
|
Re: Age Calculation for 4.4.x
Thanks Cherie, I keep forgetting about that. I'll give it try tonight.
|
All times are GMT -8. The time now is 03:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.