osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How To Remove StrikeThrough Price On Specials

This is a discussion on How To Remove StrikeThrough Price On Specials within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Is there a way to just display the regular price when using the Specials Module? I want the price to ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-03-2008, 03:55 PM
New Member
 
Join Date: Sep 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
m82492 is on a distinguished road
Default How To Remove StrikeThrough Price On Specials

Is there a way to just display the regular price when using the Specials Module? I want the price to remain the same so I don't want the strikethough price shown at all.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 10-05-2008, 05:01 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default Re: How To Remove StrikeThrough Price On Specials

Simple solution - don't use the Special Module - change the item's price. Then the Strike though will not be used.

Else change the template file that display the strikethough and comment it out.
__________________
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-05-2008, 02:42 PM
New Member
 
Join Date: Sep 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
m82492 is on a distinguished road
Default Re: How To Remove StrikeThrough Price On Specials

Quote:
Originally Posted by jpf View Post
Simple solution - don't use the Special Module - change the item's price. Then the Strike though will not be used.

Else change the template file that display the strikethough and comment it out.

What file in the template structure has the line to create the strikethrough? I'd like to comment it out but can't find it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-05-2008, 07:00 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default Re: How To Remove StrikeThrough Price On Specials

Look in your code for "class="productSpecialPrice" - the code BEFORE that is what displays the strike though prices.

ie: in whats_new.php
PHP Code:
...
    if (
tep_not_null($random_product['specials_new_products_price'])) {
      
$whats_new_price '<s>' $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
      
$whats_new_price .= '<span class="productSpecialPrice">' $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
    } else {
... 
Try:
PHP Code:
...
    if (
tep_not_null($random_product['specials_new_products_price'])) {
      
$whats_new_price '<span class="productSpecialPrice">' $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
    } else {
... 
in product_info.tpl.php

PHP Code:
...
// EOF Separate Price per Customer
      
$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_pricetep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
    } else {
... 
Try:
PHP Code:
...
// EOF Separate Price per Customer
      
$products_price '<span class="productSpecialPrice">' $currencies->display_price($new_pricetep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
    } else {
... 

There is 13 files you have to look at for this....
__________________
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
remove price from title yulises osCMax v2 Customization/Mods 1 04-21-2008 11:21 AM
Remove Price and Buy Now Buttons michael_s New osCommerce Contributions 0 06-04-2007 11:11 AM
How to remove specials for this month in Main page? blum osCMax v1.7 Discussion 2 07-04-2005 04:10 PM
Specials Price Layout afthrscomputers osCMax v1.7 Discussion 0 04-02-2005 06:24 AM
specials - show price with tax in admin, how do i do it? Anonymous osCMax v1.7 Discussion 0 01-22-2004 01:07 PM


All times are GMT -8. The time now is 08:44 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design