Page 2 of 14 FirstFirst 123412 ... LastLast
Results 11 to 20 of 140
  1. #11
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Store Credit Module

    Ok, That got me to this: (WIth setting at 1)

    arning: main(includes/templates/template_default/sideboxes/tpl_store_credit.php): failed to open stream: No such file or directory in /home/rblibrary.com/www/rblibrary/includes/modules/sideboxes/store_credit.php on line 24

    Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_store_credit.php' (include_path='.:/usr/local/lib/php') in /home/rblibrary.com/www/rblibrary/includes/modules/sideboxes/store_credit.php on line 24
    My Zen Cart Store: http://www.rblibrary.com

  2. #12
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Store Credit Module

    I checked and the store_credit.php is where it is supposed to be.
    My Zen Cart Store: http://www.rblibrary.com

  3. #13
    Join Date
    Nov 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Store Credit Module

    That's no good.

    And tpl_store_credit.php is definitely in 'includes/templates/template_default/sideboxes/tpl_store_credit.php'
    ?

  4. #14
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Store Credit Module

    That it is.
    My Zen Cart Store: http://www.rblibrary.com

  5. #15
    Join Date
    Nov 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Store Credit Module

    That is really weird.

    Um. I am not sure what to suggest (I'm fairly new at this!). I'm assuming the permissions are all OK. Um. I will have to think about it some more.

  6. #16
    Join Date
    Apr 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Store Credit Module

    I recieve this error in the admin section and the checkout process:

    Checkout
    Warning: order_total(): Failed opening 'includes/languages/english/modules/order_total/ot_sc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/perfume.xtremeimpulse.com/includes/classes/order_total.php on line 32

    Admin
    Warning: main(/home/www/perfume.xtremeimpulse.com/includes/languages/english/modules/order_total/ot_sc.php): failed to open stream: No such file or directory in /home/www/perfume.xtremeimpulse.com/admin/modules.php on line 174

    It appears to me your download is missing a file. The file ot_sc.php is missing from the download. Maybe I am wrong but I looked at all the available downloads and did not see it in of them.

  7. #17
    Join Date
    Apr 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Store Credit Module

    Yep I created the ot_sc.php file and that corrected my issue.

    1. use editor to creat file

    2. Enter something like this. Don't know if you need all of these but I put them in there anyways. You can change what they say.

    <?
    /* Start Store Credit Order Total Module */
    define('MODULE_ORDER_TOTAL_SC_TITLE', 'Store Credit');
    define('MODULE_ORDER_TOTAL_SC_HEADER', 'Store Credit');
    define('MODULE_ORDER_TOTAL_SC_DESCRIPTION','Your balance is');
    define('MODULE_ORDER_TOTAL_SC_USER_PROMPT','Prompt');
    define('MODULE_ORDER_TOTAL_SC_SORT_ORDER','Sort Order');
    /* End Store Credit Order Total Module */
    ?>

    3. Save the file as ot_sc.php

    4. Upload the file to the includes/lanquages/modules/order_total file.

    This should fix the problem if you are having the errors I stated above.

  8. #18

    Default Re: Store Credit Module

    Quote Originally Posted by wmarcy View Post
    Ok, That got me to this: (WIth setting at 1)

    arning: main(includes/templates/template_default/sideboxes/tpl_store_credit.php): failed to open stream: No such file or directory in /home/rblibrary.com/www/rblibrary/includes/modules/sideboxes/store_credit.php on line 24

    Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_store_credit.php' (include_path='.:/usr/local/lib/php') in /home/rblibrary.com/www/rblibrary/includes/modules/sideboxes/store_credit.php on line 24
    I was having the same error, but I played around with it by moving some of the files to my custom template folders and all of a sudden the Store Credit sidebox appeared.

    includes/modules/sideboxes/CUSTOM_TEMPLATE_FOLDER
    includes/templates/custom/sideboxes/CUSTOM_TEMPLATE_FOLDER

    I'm new at this and so am not really sure how it made a difference, and I honestly can't remember if I moved anything else because I experimented around quite a bit, but it seems to be working at least for now.

    Hope this helps someone and good luck.

    Cheers,
    Aubrey

    P.S. Thanks for this great module. I've been slaving away all day trying to come up with the best way to enter in orders where I receive a PayPal payment notification but no order in the admin. With this mod, I can now assign store credit in the amount the customer paid, get the order details from PayPal Session Viewer - aka Stuck PayPal Orders (I couldn't get the "push order to database" function in PayPal Session Viewer 2.0 to work), log in as the customer with my master password and enter in the order and pay for it with store credit.

  9. #19

    Default Re: Store Credit Module

    Quote Originally Posted by fepb View Post
    I was having the same error, but I played around with it by moving some of the files to my custom template folders and all of a sudden the Store Credit sidebox appeared.

    includes/modules/sideboxes/CUSTOM_TEMPLATE_FOLDER
    includes/templates/custom/sideboxes/CUSTOM_TEMPLATE_FOLDER
    Oops, just realized I made a small mistake on the folders above. The 2nd one was supposed to be:

    includes/templates/CUSTOM_TEMPLATE_FOLDER/sideboxes/

    Sorry about that.

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

    Default Re: Store Credit Module

    I think the issue here is that the "tpl_xxxx.php" file MUST FIRST exist in the templates_default folder, and only then in an OVERRIDES (custom template) folder if it is modified in any way, by the end user.

    When you create a sparkling fresh module, parts of it are now "core code". These parts must reside in appropriate directories.
    18 years a Zencart User

 

 
Page 2 of 14 FirstFirst 123412 ... LastLast

Similar Threads

  1. Store credit and reward point module
    By yellow1912 in forum Addon Payment Modules
    Replies: 170
    Last Post: 19 Mar 2021, 03:17 PM
  2. Replies: 0
    Last Post: 11 Mar 2010, 04:39 AM
  3. Replies: 2
    Last Post: 24 Jun 2008, 11:07 PM
  4. Replies: 1
    Last Post: 16 Mar 2008, 12:58 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