Forums / General Questions / Delivery in 2/3 days

Delivery in 2/3 days

Views: 479

Results 1 to 3 of 3
25 Aug 2011, 12:54 PM
#1
rafwraf avatar

rafwraf

New Zenner

Join Date:
Jun 2011
Location:
Yate South Gloucestershire
Posts:
40
Plugin Contributions:
0

Delivery in 2/3 days

Good Afternoon all,

I use Edition 1.3.9h and wiould like to ask the following question,
When one is out of stock for a particular item and delivery is expected in 2/3 days. How and where does one enter that "2/3 Days" rather than show that you have "0" Stock. if i try to enter it in the quantity space it shows as 2 on the web Site.
Thanks

Norman(rafwraf)

25 Aug 2011, 1:06 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Delivery in 2/3 days

You could use the "date available" setting on the product. This will show at the bottom of the product info page

This product will be in stock on Friday 26 August, 2011.

You could move the code that outputs this to be near the add to cart button, to be more useful for your purpose.

25 Aug 2011, 1:17 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Delivery in 2/3 days

The date available code is integrated with the date added code, so you would want to change this section in tpl_product_info_display.php from```php

<!--bof Product date added/available--> <?php if ($products_date_available > date('Y-m-d H:i:s')) { if ($flag_show_product_info_date_available == 1) { ?> <p id="productDateAvailable" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_AVAILABLE, zen_date_long($products_date_available)); ?></p> <?php } } else { if ($flag_show_product_info_date_added == 1) { ?> <p id="productDateAdded" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_ADDED, zen_date_long($products_date_added)); ?></p> <?php } // $flag_show_product_info_date_added } ?> <!--eof Product date added/available --> ```to```php <!--bof Product date added--> <?php if ($products_date_available > date('Y-m-d H:i:s')) { //do nothing } else { if ($flag_show_product_info_date_added == 1) { ?> <p id="productDateAdded" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_ADDED, zen_date_long($products_date_added)); ?></p> <?php } // $flag_show_product_info_date_added } ?> <!--eof Product date added --> ```and put this part```php <!--bof Product date available--> <?php if ($products_date_available > date('Y-m-d H:i:s')) { if ($flag_show_product_info_date_available == 1) { ?> <p id="productDateAvailable" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_AVAILABLE, zen_date_long($products_date_available)); ?></p> <?php } } ?> <!--eof Product date available --> ```where you want it higher in the file.