Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Need help with that contribution.

 

Im trying to integrate "products date available" for upcoming products.

 

Works in all pages except in product_listing.php

 

I have this after the weight case:

 

case 'PRODUCT_LIST_AVAILABLE':
$lc_align = 'center';
if (tep_not_null($listing[$x]['products_date_available'])) {
$lc_text = ' ' . tep_date_short($listing[$x]['products_date_available']) . ' ';
} else {
$lc_text = ' ' . 'Y';
}
break;

 

and then:

$product_text .= ' <td width="100" height="1" class="infoBoxContents" align="center" valign="middle">' . $product_contents['products_date_available'] . '</td>'; 

 

Help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...