Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: Changing the URL in the Order Confirmation when running site in iframe

    Quote Originally Posted by afo View Post
    If you look at my nephew's site in my sig, it's Zen Cart as CMS and all the articles are Document General.
    Ok, sorry, where is that?

  2. #12
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Changing the URL in the Order Confirmation when running site in iframe


  3. #13
    Join Date
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: Changing the URL in the Order Confirmation when running site in iframe

    Quote Originally Posted by afo View Post
    If you look at my nephew's site in my sig,
    sorry, how do I get to that?

    Never mind, I figured it out, you meant signature. I thought you were referring to a Special Interest Group or some such thing.
    Last edited by ibuttons; 24 May 2010 at 09:17 PM.

  4. #14
    Join Date
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: Changing the URL in the Order Confirmation when running site in iframe

    Quote Originally Posted by DrByte View Post
    I'm guessing that your language file has been customized and thus the original EMAIL_TEXT_INVOICE_URL definition is changed?
    My suggestion was based on using the original content in the language file, particularly for that definition.
    Can you be more specific on what you mean by your language file? I have kept a copy of the original files and can easily compare or go back and restore the file and then carefully add back in any changes I need, but I need to know what file(s) are involved.

    I did compare my original version of includes/classes/order.php to my current one that has the changes you mentioned and that produced the bad results I reported, and the only differences are the lines that you gave me. So I am guessing you are referring to another file.

  5. #15
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Changing the URL in the Order Confirmation when running site in iframe

    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Use the supplied Developers Toolkit to look up the define for that constant: EMAIL_TEXT_INVOICE_URL
    Then compare that file from your server against the original Zen Cart files.
    .

    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.

  6. #16
    Join Date
    Nov 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: Changing the URL in the Order Confirmation when running site in iframe

    Quote Originally Posted by DrByte View Post
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Use the supplied Developers Toolkit to look up the define for that constant: EMAIL_TEXT_INVOICE_URL
    Then compare that file from your server against the original Zen Cart files.

    Thanks for the speedy reply, especially on a holiday weekend! Greatly appreciated.

    Ok, I did as you suggested:

    1. I used the Dev Toolkit and searched on EMAIL_TEXT_INVOICE_URL.
      -
    2. I found it is defined in /home/content/b/m/i/bmisurgery/html/store/includes/languages/english/checkout_process.php.
      -
    3. I have not altered this file and I do not have a copy in my template override area, but just to be safe, I compared it to the original copy I have saved off on the side using WinMerge and found that the files are all identical.
      -


    While doing all that, I noticed that EMAIL_TEXT_INVOICE_URL is being set to the string Detailed Invoice. Here is the actual code: define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:'); which makes me wonder if this is even where the problem is.

    Could you see if you can figure out where the value <a href="http://bmisurgery.org/index.php?ID=supplements-new" title="BMI Surgery Store">BMI Surgery Store</a> is being changed to http://bmisurgery.org/store/<a+href=?

    I think it must be further down in this module where the variable email_order is being referred to a number of times. There are some str_replace function calls and some other things going on which I don't completely follow.

    Hope that made sense. Let me know what you think and if you find anything.

  7. #17
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Changing the URL in the Order Confirmation when running site in iframe

    Quote Originally Posted by ibuttons;884090
    I am displaying my ZC store from inside an IFRAME on my main site. This seems to work great--my cart is now integrated [I
    perfectly [/i]into the rest of my website. The only problem I have found so far is that Order Confirmation emails contain a link in them that goes directly to the store, and does not start at the real website and go through the IFRAME. That means, clicking on the link in the email order confirmation message brings up the store only and my store does not have a header and nav bars--these are part of the main site. So, I want to change the URL of that link, as follows:
    Hate to revive an old thread, but in case anyone runs across this (or the original author still lurks here) The BETTER way to do this is to NOT use iframes at all (as has been advised) and give a looksee at the Sanguine Embedded template..

    This template is designed for sites that have an existing site design/template and want to incorporate their store into that design.. I've used this template, with great results..

    anomalyrecords . net
    clientphlaunthair . overthehillweb . com (Joomla & Zen Cart married using the Sanguine Embedded template)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 How do I customize the order totals section of the order confirmation email?
    By brannon125 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Feb 2012, 10:30 AM
  2. Replies: 5
    Last Post: 15 Dec 2010, 11:05 PM
  3. No order confirmation email when the buyer using non-English language and PayPal IPN
    By mleeks in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 Dec 2010, 11:55 AM
  4. Replies: 5
    Last Post: 5 Jun 2010, 11:18 PM
  5. Replies: 0
    Last Post: 12 Sep 2008, 08:00 PM

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