Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2016
    Location
    Colorado
    Posts
    34
    Plugin Contributions
    0

    Default Cart pages won't show in a frame page

    We have several domains forwarded with masking going to pages in our Zencart. GoDaddy put the page in a frame so the domain always show in the URL bar and search engines index it. We have been using this for years, but since updating to ZC 1.55, the pages no longer show in the frame. We see just a white page. Does ZC now prevent this? Or is there a setting to allow it?

    Thanks for any help.

    carbideemproium.com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Cart pages won't show in a frame page

    Using frames for ecommerce sites is generally (IMO "always") a bad idea. In my experience there's no good reason for needing to host a site in a frame.

    The reason why it's broken now for you in v155 is because the following was added to the html_header.php template file ... specifically to prevent click-jacking where people commit fraud by tricking your site using frames.

    Code:
    // Prevent clickjacking risks by setting X-Frame-Options:SAMEORIGIN
    header('X-Frame-Options:SAMEORIGIN');
    .

    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.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Cart pages won't show in a frame page

    Payment Gateways (Authorisenet, Sagepay, Paypal...) do not like frames for the reasons indicated by Dr Byte. So the use of frames is (in strict PCI terms, not compliant).

    You should try using sub-domains instead.

    That GoDaddy put the frame in place suggests what most of us know about them - general incompetence.
    20 years a Zencart User

 

 

Similar Threads

  1. v155 admin page won't show
    By DarkAngel in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 2 Jun 2016, 02:32 PM
  2. HELP: Admin pages won't show at all
    By layoyo in forum Customization from the Admin
    Replies: 1
    Last Post: 7 Oct 2008, 02:01 PM
  3. Images won't show on separate html pages/ welcome page
    By Inkwork in forum General Questions
    Replies: 2
    Last Post: 13 Feb 2008, 07:47 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