Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2011
    Location
    Tampa Bay, Florida USA
    Posts
    17
    Plugin Contributions
    0

    bug HTML code showing in Discount Coupon

    v1.5.6b my current version of Zen Cart. The error happened with the previous update to my cart.
    When a customer typed is the coupon code and hits the button, they see HTML coding on the page.

    Here's the Coupon page: https://worshipwarriors.net/index.ph...iscount_coupon

    Coupon code: 5grace

    any ideas? thank you

  2. #2
    Join Date
    Sep 2004
    Location
    Iowa
    Posts
    84
    Plugin Contributions
    0

    Default Re: HTML code showing in Discount Coupon

    Quote Originally Posted by rozdesignz View Post
    v1.5.6b my current version of Zen Cart. The error happened with the previous update to my cart.
    When a customer typed is the coupon code and hits the button, they see HTML coding on the page.

    Here's the Coupon page: https://worshipwarriors.net/index.ph...iscount_coupon

    Coupon code: 5grace

    any ideas? thank you
    It appears that there is a double quote character ( " ) 2 spaces in front of your coupon description. Try going into edit that in the admin area and if you are using a graphical editor try switching it to view SOURCE. If you see the double quote in front of the <h3> tag, remove it and then save. That will probably resolve your issue.

    IF you don't see a way to switch to SOURCE view in your editor, turn off the graphical editor long enough to see and fix this issue.
    Last edited by lynbor; 17 Jun 2019 at 08:09 PM.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTML code showing in Discount Coupon

    To allow HTML to render as you entered it in your Admin, you'll need to edit /includes/modules/pages/discount_coupon/header_php.php on line 33 and remove:

    zen_output_string_protected
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2011
    Location
    Tampa Bay, Florida USA
    Posts
    17
    Plugin Contributions
    0

    Default Re: HTML code showing in Discount Coupon

    Hi lynbor, I did try both of these and neither worked. Thank you for the input.

  5. #5
    Join Date
    Aug 2011
    Location
    Tampa Bay, Florida USA
    Posts
    17
    Plugin Contributions
    0

    Default Re: HTML code showing in Discount Coupon

    DrByte, Yes! it worked. Thank you so much. Was hoping I didn't have to give up my HTML coding for coupons on the website.
    Appreciate the help.

 

 

Similar Threads

  1. v139h Discount coupon email HTML/CSS
    By kjoshi in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Mar 2012, 03:58 PM
  2. Image Not Showing up on Main Page - HTML Code Showing
    By acreativepage in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2010, 11:44 AM
  3. Coupon code for discount?
    By oxicottin in forum General Questions
    Replies: 2
    Last Post: 8 Jun 2009, 03:24 AM
  4. Email discount coupon & HTML Newsletter
    By ceegeeaar in forum Bug Reports
    Replies: 0
    Last Post: 16 Aug 2007, 03:43 PM
  5. Coupon welcome message showing discount when coupon is expired
    By tracyselena in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 26 Jan 2007, 06:32 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