sexhack Posted March 22, 2006 Posted March 22, 2006 it' s go like this... i have an oscommerce v2.2 and when i add a special price to a product i can see the price with the link (exmple: 659$) and the special price... it's work with all the pages except the main page... in the main page i only see the special price without the price with the line plz plz... i try so much i'm working on this little thing since yesterday.... plz help me... this is my store Click Here To See My Store :sweating: Quote
sexhack Posted March 22, 2006 Author Posted March 22, 2006 (edited) ok...i found this line... in the new_product.php <tr><td class=cy1 align=right>'.$currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])).'</td></tr> and i need to change it to this line (i take it from the Product_info.php) if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } but when i put it with the .' all i get is this... Parse error: parse error, unexpected T_IF and when i put it without the .' i get this Parse error: parse error, unexpected T_STRING, expecting ',' or ';' what to do guys? maybe i miss somthing ? maybe i need to add some script before? :angry: Edited March 22, 2006 by sexhack Quote
sexhack Posted March 23, 2006 Author Posted March 23, 2006 :angry: :angry: why i'm the only man that dont get answer? Quote
sexhack Posted March 23, 2006 Author Posted March 23, 2006 well? please!!!! i need only this for finshing my shop...please help! :( Quote
Recommended Posts
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.