osCmax v2.5 User Manual
Results 1 to 4 of 4

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 ...

      
  1. #1
    New Member
    Join Date
    Sep 2008
    Posts
    17
    Rep Power
    0


    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

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    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!

  3. #3
    New Member
    Join Date
    Sep 2008
    Posts
    17
    Rep Power
    0


    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.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    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!

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •