Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Why isn't my specials not showing prices with red text and old with strike through?

    I am unable see my specials with old prices with strike through and the new one with red text.

    I finally get the red colour over the new special prices by adding to the CSS

    Code:
    .productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
    	color: #ff0000;
    	}
    I can see same CSS has also following line but not doing it. Because when I inspect that element it shows a

    Code:
    <span class="normalprice">
    Naturally I do not want ALL my "normalprice" crossed out. Only when they are on special.

    Code:
    .productSpecialPriceSale {
    	text-decoration:line-through;
    }
    Can anyone please suggest a solution?
    Downunder QLD

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Why isn't my specials not showing prices with red text and old with strike throu

    Quote Originally Posted by oavs View Post
    I am unable see my specials with old prices with strike through and the new one with red text.

    I finally get the red colour over the new special prices by adding to the CSS

    Code:
    .productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
        color: #ff0000;
        }
    I can see same CSS has also following line but not doing it. Because when I inspect that element it shows a

    Code:
    <span class="normalprice">
    Naturally I do not want ALL my "normalprice" crossed out. Only when they are on special.

    Code:
    .productSpecialPriceSale {
        text-decoration:line-through;
    }
    Can anyone please suggest a solution?
    I am not in a position to identify a solution; however, most of those that can would probably ask for a link to the site so that they can personally see and identify what would work. So, if you could provide a link (can put spaces in place of periods) to both an area that works and an area that is not responding properly, (be sure this includes the area you want to have the change applied) then perhaps those that are more able to help can do so quickly.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Why isn't my specials not showing prices with red text and old with strike throu

    Downunder QLD

  4. #4
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Why isn't my specials not showing prices with red text and old with strike throu

    Quote Originally Posted by oavs View Post
    Okay, so I jumped around to a few different products/areas... Seems that if there are two prices (new "special" and an old "normal", that the class types are different than what is used in other normal locations... You can find this out more by searching your files for the class normalprice. For example the Leggings category uses just normal as the price class.

    So, looks like your stylesheet.css file on line 546 starts the definition for the normalprice style. This is where you would more than likely put the line through...

    Then in the area with all four categories listed in a row, you can try to add your other special coding. From looking through the pages a little, I don't see where anything other than these two styles. So I think you are in the clear; however, would look at the databse entries we currently
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Why isn't my specials not showing prices with red text and old with strike throu

    Hi

    Thanks for your valuable input.

    I already have in the css file line 561 but it has no effect. I am only interested in placeing the strike through where ever the special price is mentioned, This means only two places. Side bar and the 'Specials' page.

    Code:
    .productSpecialPriceSale {
        text-decoration:line-through;
    }
    Downunder QLD

  6. #6
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Why isn't my specials not showing prices with red text and old with strike throu

    Ok I found it.


    /* --------------- PRICES --------------- */

    .normalprice, .productSpecialPriceSale {
    text-decoration:line-through; >> this was not there before.

    }

    Ok now it works I now need the fancy stuff like words to be added.. Was $xxx.000 Now $xxx.00 etc and show % saving etc. Do you have any ideas?
    Downunder QLD

  7. #7
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Why isn't my specials not showing prices with red text and old with strike throu

    Quote Originally Posted by oavs View Post
    Ok I found it.


    /* --------------- PRICES --------------- */

    .normalprice, .productSpecialPriceSale {
    text-decoration:line-through; >> this was not there before.

    }

    Ok now it works I now need the fancy stuff like words to be added.. Was $xxx.000 Now $xxx.00 etc and show % saving etc. Do you have any ideas?
    Well, I would use the developer's tool kit (dtk) under tools of the admin panel to look for the template file that adds like the productspecialpricesale tag, and then once found possibly add a nied variable (or if one was already present go look for the definition to add words like you are wanting. I do not recommend just typing in the words was: and now: but instead change it with consideration of the template system. The text to be added may need to be added deeper in the code, but at least it would give a start.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 1
    Last Post: 3 Mar 2017, 03:07 AM
  2. Why are my Specials prices showing with strikethrough?
    By deepanvee in forum General Questions
    Replies: 3
    Last Post: 9 Nov 2010, 08:25 PM
  3. Side Menu not showing up with "Red Passion" Template
    By tinman414 in forum Addon Templates
    Replies: 5
    Last Post: 3 Oct 2009, 12:11 AM
  4. red text and cross out of old price not showing up
    By yahzi in forum Setting Up Specials and SaleMaker
    Replies: 5
    Last Post: 26 Nov 2008, 12:26 PM
  5. MSRP Strike Through
    By knuckle-101 in forum Basic Configuration
    Replies: 0
    Last Post: 2 Jun 2006, 02:22 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR