Jump to content
xt:Commerce Community Forum

Text ausblenden


Alada

Recommended Posts

unter

/templates/dein-template/module/product_info/product_info_v1.html

den nachfolgenden code löschen

{if $PRODUCTS_DATE_AVAILABLE != ''}

<table width="100%" border="0" class="boxTextBG" style="border-top: 1px solid; border-color: #FFFFFF;">

  <tr>

    <td align="center">{$PRODUCTS_DATE_AVAILABLE}<br /></td>

  </tr>

</table>{/if}
{if $PRODUCTS_ADDED != ''}

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="prodaddmod" style="border-top: 1px solid; border-color: #FFFFFF;">

  <tr>

    <td align="center">{$PRODUCTS_ADDED}<br /></td>

  </tr>

</table>{/if}
und unter /includes/modules/product_info.php den nachfolgenden code entweder löschen
        if ($product->data['products_date_available'] > date('Y-m-d H:i:s')) {

            $info_smarty->assign('PRODUCTS_DATE_AVIABLE', sprintf(TEXT_DATE_AVAILABLE, xtc_date_long($product->data['products_date_available'])));


        } else {

            if ($product->data['products_date_added'] != '0000-00-00 00:00:00')

                $info_smarty->assign('PRODUCTS_ADDED', sprintf(TEXT_DATE_ADDED, xtc_date_long($product->data['products_date_added'])));


        }
oder auskommentieren
//        if ($product->data['products_date_available'] > date('Y-m-d H:i:s')) {

//            $info_smarty->assign('PRODUCTS_DATE_AVIABLE', sprintf(TEXT_DATE_AVAILABLE, xtc_date_long($product->data['products_date_available'])));


//        } else {

//            if ($product->data['products_date_added'] != '0000-00-00 00:00:00')

//                $info_smarty->assign('PRODUCTS_ADDED', sprintf(TEXT_DATE_ADDED, xtc_date_long($product->data['products_date_added'])));


//        }

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...