Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Percentage Discount Not showing Text or Percentage off

    There could be several causes ... but the conflict is in your template files so comparing them to the originals is the best place to start ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    Mar 2008
    Location
    QLD - Aussie
    Posts
    192
    Plugin Contributions
    0

    Default Re: Percentage Discount Not showing Text or Percentage off

    Hi again Ajeh

    I have to admit I am lost.

    so..... my includes/languages/MY_TEMPLATE/english.php seems to have the correct info as it matches the default in regards to the 'discount savings' code.. (if that's the right thing to look for?)

    I've downloaded 'beyond compare' (only used winmerge before) - but (I'm sorry) I'm really stuck as I don't know which template folders to compare - with default ones

    Sorry to be so 'dense' just can't get my head around it atm

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Percentage Discount Not showing Text or Percentage off

    The language files may be fine, but the other templates and override files that should be echoing that information could be changed to not display that ...

    If you were to have a clean copy of Zen Cart v138 and put that on the left and then the copy of your site on the right you could do a compare of the files to see what is different ...

    In your case, you need to compare templates ...

    I open the left side to:
    /includes/templates/template_default/templates

    and then on the right side compare that to:
    /includes/templates/your_template_dir

    and see if you can find the differences ...

    You can also do this with:
    /includes/modules

    /includes/modules/your_template_dir

    and any other templates and override directories ...

    You also said you found the text define for:
    discount savings

    so, you can search for the constant for that (it's in CAPS) to see where it is used in the original files and where it is either missing or commented out in your templates and overrides files ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #14
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    1

    Default Re: Percentage Discount Not showing Text or Percentage off

    Hi Green333,

    Your problem lies in your css.

    Goto your template directory and look in your css directory
    for a file called stylesheet.css

    find the following code right near the end

    Code:
    /*  --------------- PRICES ---------------  */
    
    .normalprice, .productSpecialPriceSale {
            
    }
    		
    .normalprice {
    	  color:#D52D00; font-weight:bold; font-size:16px; text-decoration:line-through;
    }
    
    .productSpecialPrice, .productSalePrice, .productSpecialPriceSale {
     	color:#D52D00; font-weight:bold; font-size:16px;
    }
    
    .productSpecialPriceSale {
    	text-decoration:line-through;
    }
    		
    .productPriceDiscount {color:#000000; display:none;}
    the problematic code is shown in red..

    replace it this with, a little extra formatting makes it look nice.

    Code:
    /*  --------------- PRICES ---------------  */
    
    .normalprice, .productSpecialPriceSale {
            
    }
    		
    .normalprice {
    	  color:#D52D00; font-weight:bold; font-size:16px; text-decoration:line-through;
    }
    
    .productSpecialPrice, .productSalePrice, .productSpecialPriceSale {
     	color:#D52D00; font-weight:bold; font-size:16px; padding-left:15px;
    }
    
    .productSpecialPriceSale {
    	text-decoration:line-through;
    }
    		
    .productPriceDiscount {color:#000000; font-size:12px;}
    This should most likely get it to display for you.
    Let us know how it goes.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Speical price use dollar off instead of percentage off?
    By Cindy2010 in forum Customization from the Admin
    Replies: 2
    Last Post: 19 Jun 2012, 08:14 PM
  2. Discount percentage calculates wrong 1.3.9b
    By waddtown in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 9 Jun 2010, 03:48 PM
  3. Quantity Discount in Percentage
    By lomo in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 May 2009, 09:38 AM
  4. Percentage discount on product prices
    By lbooth in forum General Questions
    Replies: 1
    Last Post: 7 Dec 2007, 05:36 PM
  5. Percentage discount questions
    By milksamsa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 May 2006, 08:05 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