Guest Posted July 21, 2008 Posted July 21, 2008 I have been chewing around with this now for too long and its getting more cloudy as I speak. I have tried to add 'free shipping' display into the product listing incorporated into the 'case 'PRODUCT_LIST_PRICE':' code: case 'PRODUCT_LIST_PRICE': $lc_align = 'right'; if (tep_not_null($listing[$x]['specials_new_products_price']) || ($listing[$x]['products_free_shipping'] && FREE_SHIPPING_TO_ALL_COUNTRIES == "true")) { $lc_text = ' <s>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($listing[$x]['specials_new_products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</span><br>'.tep_image(DIR_WS_IMAGES . 'freedelsmall.gif', 'Order now and receive free delivery on this product!', '108', '10').''; } else if ($listing[$x]['products_free_shipping'] && FREE_SHIPPING_TO_ALL_COUNTRIES == "false") { $lc_text = ' ' . TEXT_OUR_PRICE . ' ' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '<br>'.tep_image(DIR_WS_IMAGES . 'freedelsmall.gif', 'Order now and receive free delivery on this product!', '108', '10').''; } break; Now the problem as you can see is that when 'free shipping' is not set against the product for some reason it is not displaying the product price but repeating the product name. I hope someone can give me a hint as to why??? (cos its doing my head in lol) Thanks Aran
burt Posted July 21, 2008 Posted July 21, 2008 Would be easier to see a page where this is happening.
Guest Posted July 21, 2008 Posted July 21, 2008 Hi Burt, Sure to see the problem 'Click Here' Regards Aran
burt Posted July 21, 2008 Posted July 21, 2008 Looks like this: $listing[$x]['products_free_shipping'] is not being picked up, hence no display.
Guest Posted July 21, 2008 Posted July 21, 2008 Looks like this: $listing[$x]['products_free_shipping'] is not being picked up, hence no display. very strange because I have added p.products_free_shipping to all the listing queries in the index.php file (have I missed a query in another file somewhere urgh) Aran
Recommended Posts
Archived
This topic is now archived and is closed to further replies.