hi,
Dose anyone know? How to remove the scratch price from special products?
I have to remove the scratch price from special products.Can you please help me to solve this issue?
I would really apprecitate to you.
Regards,
Pads
This is a discussion on How to remove scratch price from special products within the osCMax v1.7 General Mods Discussion forums, part of the osCmax v1.7 Forums category; hi, Dose anyone know? How to remove the scratch price from special products? I have to remove the scratch price ...
hi,
Dose anyone know? How to remove the scratch price from special products?
I have to remove the scratch price from special products.Can you please help me to solve this issue?
I would really apprecitate to you.
Regards,
Pads
Last edited by padma; 12-04-2008 at 01:35 AM.
Scratch price?
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
And again, someone posts with a question... in a "language" understood by them, but not others. (And never came back here...possibly because of "language barrier & interpretation" without proper clarification.
I would suspect that this poster was simply asking how to "remove" the PRICE that SHOWS with a "line" drawn thru it, once an "item" has been marked as a "special"
I admit, that the "bold red" does the job, and the "line thru" aka >Scratch Price...could actually be less bold going thru it...
His language? Scratch = "Scratched Out"
Others? = "Line Thru Price"
Image attached for clarification:
![]()
Last edited by trochia; 02-10-2009 at 06:12 AM.
You mean "strikethough" or "line-through". Edit your CSS - in this case it is inline CSS in the specials.tpl.php file
Should look something like:
Look for:PHP Code:echo ' <td align="center" width="33%" class="smallText"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $specials[$x]['products_image'], $specials[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials[$x]['products_id']) . '">' . $specials[$x]['products_name'] . '</a><br><span style="text-decoration:line-through">' . $currencies->display_price($specials[$x]['products_price'], tep_get_tax_rate($specials[$x]['products_tax_class_id'])) . '</span><br><span class="productSpecialPrice">' . $currencies->display_price($specials[$x]['specials_new_products_price'], tep_get_tax_rate($specials[$x]['products_tax_class_id'])) . '</span></td>' . "n";
Edit however you need.PHP Code:<span style="text-decoration:line-through">
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Thank-you, but I was just pointing out here, that "padma" (pads) the first poster...was (I think) in search of how to do this. Yet? He had never posted again..
Now? The whole world nows how to change it!! Thank's to JPF![]()
Bookmarks