Its me again, now before you say anything, got my custom tabs to partially work:
Product Code: NEBR3001
Delivery/Shipping Weight: 1.7kg
Manufactured by: Nestle
36 0.89
The input code is as follows:
// Preload Details
if ($bDetailsOnTab != false) {
$fmtDOT = '<div style="width:100%;">' . "\n";
$fmtDOT .= '<ul id="productDetailsList" class="floatingBox back">';
$fmtDOT .= (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n";
$fmtDOT .= (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n";
$fmtDOT .= (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n";
$fmtDOT .= (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n";
$fmtDOT .= ($product_info->fields['products_count']). "\n";
$fmtDOT .= ($product_info->fields['products_unit_cost']). "\n";
$fmtDOT .= '</ul>';
$fmtDOT .= "\n" . '<br class="clearBoth" />';
$fmtDOT .= "\n" . '</div>';
The 36 is the Count and
The 0.89 is unit price, all that is missing is that field name, and just cannot seem to work it in. I am sure it can be done as it iust could be hard coded but I have tried so many different scenarios so not being a progammer it doesn't jump out at me. should read as follows:
Product Code: NEBR3001
Delivery/Shipping Weight: 1.7kg
Manufactured by: Nestle
Count: 36
RRP: 0.89
So near now.... please someone add the finishing touches!!!![]()
I just discovered that my site breaks when I am using this mod with IE9. My site descriptions, and anything else tabbed does not show up. Has anyone else had this problem? I would love to continue using it but can't without showing descriptions to everyone :)
Thanks!
Hi
My name is Alen . I installed TPP Yesterday, it was wonderful mod. But I suddenly found that the banner on home page stopped auto rolling ( 3 ADs), also the discount 20% section(right under banner) can not move left or right . I found the problem caused from over write the file html_header.php in commom folder( when I back up html_header.php every thing return to normal but tabs will not shows up).
Really need your help !!!!! Please!!
my site is www.mobilestation.co.nz
[QUOTE=jagall;1058466]
Hi All just to let ye know in case anyone comes across the same problem that I have got this sorted by using the following code allowed me to call in my custom fields:
$fmtDOT .= '<li>' .TEXT_PRODUCT_COUNT . $products_count .($product_info->fields['products_count']). "\n";
$fmtDOT .= '<li>' .TEXT_PRODUCT_UNIT_COST . $products_unit_cost .($product_info->fields['products_unit_cost']). "\n";
Sooo Happy, might have been a walk in the park for some but a mountain climbed for me!!!!![]()
Bookmarks