Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32
  1. #11
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Where to edit shopping cart message?

    Hi Stevesh,
    Yes, yesterday I did see the file you mentioned, but I found it so confusing! I typed something and the site went blank.
    Now, after your reply, I put the text that I want in the cart. I did it in:

    includes/languages/english/login.php
    includes/languages/english/mytemplate/login.php

    and nothing happened. I wonder where these can be now... I mean the changes in the files modified. .

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Where to edit shopping cart message?

    You should never change /includes/languages/english/login.php; put all custom defines in /includes/languages/english/mytemplate/login.php.

    What exactly does your define statement look like? Are you certain that those changes are in the file on your server?

  3. #13
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Where to edit shopping cart message?

    Hi, I don't know if that is related with the issue that I have, but while transferring files with my ftp I noticed that there are to includes folders, here is the image the 2nd includes folder has only the shipping folders and files.
    Name:  folder-tree.jpg
Views: 77
Size:  70.7 KB
    There is something wrong here, isn't it?

  4. #14
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Where to edit shopping cart message?

    Hi Gjh42,

    includes/languages/english/shopping_cart.php

    Code:
    define('TEXT_INFORMATION', 'For printed books, you will receive your book(s) on standard delivery times. <br/> For ebooks, you may download your ebook <b> immediately upon purchase<b/>. <br/> Payments are processed through PayPal. <b> No PayPal account required<b/>');
    includes/languages/english/login.php

    Code:
    define('TEXT_VISITORS_CART', 'For printed books, you will receive your book(s) on standard delivery times. <br/>
     For ebooks, you may download your ebook <b> immediately upon purchase<b/>. <br/>
     Payments are processed through PayPal. <b> No PayPal account required<b/>
    ');
    includes/languages/english/RI_TEMPLATE_07/login.php

    Code:
    define('TEXT_VISITORS_CART', 'For printed books, you will receive your book(s) on standard delivery times. <br/>
     For ebooks, you may download your ebook <b> immediately upon purchase<b/>. <br/>
     Payments are processed through PayPal. <b> No PayPal account required <b/>
    ');

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Where to edit shopping cart message?

    The second /include/ folder was apparently uploaded to the base /includes/ folder instead of the store root, where the shopping cart files would have dropped into their correct places. You should just delete that second /includes/ folder, assuming you have since uploaded the edited versions of the files (or the /includes/ folder structure that contains them) to the correct places.

    The defines look fine, so the issue has to be that they are not in the correct place on the server.
    If you have not yet uploaded the edited /includes/languages/english/login.php to the server, don't. That copy of the file should stay as it was for reference.

  6. #16
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Where to edit shopping cart message?

    Hi gjh42,

    I deleted the extra folder and still no change... Do you know where the problem might be?

  7. #17
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Where to edit shopping cart message?

    The extra folder would have done nothing, good or bad. It's just extra baggage. Are you certain the edited files are on the server at
    /includes/languages/english/shopping_cart.php
    and
    /includes/languages/english/RI_TEMPLATE_07/login.php?

    Again, /includes/languages/english/shopping_cart.php should not be edited; you should copy it into /includes/languages/english/RI_TEMPLATE_07/shopping_cart.php and edit that version.

  8. #18
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Where to edit shopping cart message?

    Yes, sure, I edited them from my server.

    This is the file I edited:

    includes/languages/english/RI_TEMPLATE_07/shopping_cart.php

    Code:
    <?php
    /*
    
    GPL released as part of the big_royalmail_v2.3 package
    
    see CREDITS.txt for the contributors and support forum.
    
    */
    
    define('NAVBAR_TITLE', 'The Shopping Cart');
    define('HEADING_TITLE', 'Your Shopping Cart Contents');
    define('HEADING_TITLE_EMPTY', 'Your Shopping Cart');
    define('TEXT_INFORMATION', 'For printed books, you will receive your book(s) on standard delivery times. <br/> For ebooks, you may download your ebook <b> immediately upon purchase<b/>. <br/> Payments are processed through PayPal. <b> No PayPal account required<b/>');
    define('TABLE_HEADING_REMOVE', 'Remove');
    define('TABLE_HEADING_QUANTITY', 'Qty.');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRICE','Unit');
    define('TEXT_CART_EMPTY', 'Your Shopping Cart is empty.');
    define('SUB_TITLE_SUB_TOTAL', 'Sub-Total:');
    define('SUB_TITLE_TOTAL', 'Total:');
    
    define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' are out of stock or there are not enough in stock to fill your order.<br />Please change the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '). Thank you');
    define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' are out of stock.<br />Items not in stock will be placed on backorder.');
    
    define('TEXT_TOTAL_ITEMS', 'Total Items: ');
    define('TEXT_TOTAL_WEIGHT', '&nbsp;&nbsp;Weight: ');
    define('TEXT_TOTAL_AMOUNT', '&nbsp;&nbsp;Amount: ');
    
    define('TEXT_VISITORS_CART', '<a href="javascript:session_win();">[help (?)]</a>');
    define('TEXT_OPTION_DIVIDER', '&nbsp;-&nbsp;');
    
    // big royal mail modification from ZC 1.3.8a standard shopping cart
    
    define('TITLE_NO_SHIPPING_AVAILABLE', 'Not Available At This Time');
    define('TEXT_NO_SHIPPING_AVAILABLE','<span class="alert">Sorry, we cannot calculate your shipping __SHIPPING_COUNTRY__ at this time.</span><br />Please contact us so that we can arrange a quote tailored especially for you.');

  9. #19
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Where to edit shopping cart message?

    Still no luck, I'm comparing files from previous backups and I cannot see where is the problem.

  10. #20
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Where to edit shopping cart message?

    A search in the Developers Toolkit for TEXT_INFORMATION will show where that constant is being used. If it is somehow not called in the actual working file, that would be a place to start investigating. Can you post the shopping cart file where that appears? The stock version is here:
    /includes/templates/template_default/templates/tpl_shopping_cart_default.php

    Line #32 : <div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>

    Your shopping cart page source has
    Code:
    <div class="forward"><strong>Note:</strong> Your &quot;Visitors Cart&quot; contents will be merged with your &quot;Members Cart&quot; contents once you have logged on. <a href="javascript:session_win();">[More Info]</a></div>
    Notice the different leading <div code - your file is probably using some other constant here as well as a diffeent container. You need to find and redefine that instead of the stock constant.


    Oops, wrong bit of output - will correct in a moment:)
    Last edited by gjh42; 28 Dec 2012 at 01:00 AM.

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Edit cart text: Shopping Cart [more] ?
    By Muzz in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Sep 2009, 11:44 AM
  2. Edit shopping cart attributes on the cart page
    By acorncom in forum General Questions
    Replies: 0
    Last Post: 13 May 2009, 10:12 PM
  3. Where do I find the 'Shopping Cart' page to edit
    By millersgrainhouse in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Oct 2008, 01:11 AM
  4. Where do you edit, "Sale Message Goes Here"
    By abcdabcd in forum General Questions
    Replies: 5
    Last Post: 1 Jul 2007, 04:31 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