zxedxz Posted February 17, 2005 Share Posted February 17, 2005 Hi, I'm trying to make this two contributions to work together. I have done everything the instalation file says and even applied the hack for the column display contri. But the sales price still does not show up. It works fine in the newproducts box thought. What else am i missing? Do they even work together? Anyway had sucessed to do it? Can i see someone's product_listing_col.php to compare with mine? Thanks Link to comment Share on other sites More sharing options...
zxedxz Posted February 17, 2005 Author Share Posted February 17, 2005 Okey, made it to work. I'm not sure if this is the best way, but it works. I guess it is the way the file of the column listing is written. In the tutorial, it says to add this: if (tep_get_products_special_price($listing['products_id'])) { $lc_text .= ' <s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price(tep_get_products_special_price($listing['products_id']), tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> '; But this is what worked for me. if (tep_get_products_special_price($listing_values['products_id'])) { $lc_text .= ' <s>' . $currencies->display_price($listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price(tep_get_products_special_price($listing_values['products_id']), tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span> '; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.