Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    44
    Plugin Contributions
    0

    Default I keep creating errors in shopping cart file

    Hello,

    I'm using 1.3.8 with a few addons.

    I keep creating an error (with creates all kind of trouble with the cart) when editing the includes/languages/english/shopping_cart.php file. I just want to add a few "instruction" lines of text. Is it the period after the sentences in my copy? I know to stay within the ' ', but not sure what I'm doing wrong.

    I also want to add a few short sentences to the processing and delivered emails. Again I keep creating errors when I edit these.

    Thanks for the help.....

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: I keep creating errors in shopping cart file

    What errors are you getting?

    Are there any special characters (apostrophe, etc.) in your text?

  3. #3
    Join Date
    Feb 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: I keep creating errors in shopping cart file

    Hey stevesh,

    The error is: once you've made your selections (I sell t-shirts so select design, size and color) and click "add to cart" a blank page appears. Using the Debug Logging Tool, I know I'm doing something in the includes/languages/english/shopping_cart.php file. I did have a apostrophe and period in the sentences. Is this the problem? Can it only be one sentence in this file?

    Thanks for the help.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: I keep creating errors in shopping cart file

    Quote Originally Posted by fishface View Post
    Hey stevesh,

    The error is: once you've made your selections (I sell t-shirts so select design, size and color) and click "add to cart" a blank page appears. Using the Debug Logging Tool, I know I'm doing something in the includes/languages/english/shopping_cart.php file. I did have a apostrophe and period in the sentences. Is this the problem? Can it only be one sentence in this file?

    Thanks for the help.
    Yes, an apostrophe can cause problems as they will effectively 'de quote' a text string. Periods don't tend to cause any issues.

    Another common 'gotcha' is having a blank line after the closing php> tag at the end of the file. This is often an unintended addition created by some text editors.

    Cheers
    Rod

  5. #5
    Join Date
    Feb 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: I keep creating errors in shopping cart file

    thanks for the info!

 

 

Similar Threads

  1. creating a link from shopping cart back to main website
    By irori in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Aug 2012, 12:45 AM
  2. Keep shopping cart, hide prices.
    By computeaholic in forum Managing Customers and Orders
    Replies: 3
    Last Post: 19 Jan 2011, 02:25 PM
  3. Quantity Units errors - in shopping cart
    By MB1 in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 30 Jun 2010, 07:31 PM
  4. Replies: 2
    Last Post: 24 Jun 2010, 11:20 PM
  5. Replies: 4
    Last Post: 12 Feb 2007, 06:34 AM

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