Page 2 of 30 FirstFirst 123412 ... LastLast
Results 11 to 20 of 298
  1. #11
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Currency Update (Automatic)

    I think they will either have to make the changes - or tell you the correct command to use
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  2. #12
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Yep, you were right, thanks! I just had the cron job set up incorrectly. Works wonderfully now!
    Danielle

  3. #13
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    663
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    I am sorry I didn't see your questions before. Oh well at least you have it working now!

  4. #14
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    268
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi,

    Today i install your module and it work fine,but i check rate of USD - VND and USD -GPB in xe.com and see it just 1 USD - 16020 VND and 1 USD - 0.50 GPB

    When i click on update in admin ,the rate of high then in xe.com
    1 USD - 17450 VND and 1 USD - 0.53 GPB

    Can you tell me how to fix this?

    KIMSON

  5. #15
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Currency Update (Automatic)

    The difference is because the add-in module and Zen Cart work slightly differently.

    The add-in module goes and gets the current mid-price for each currency and puts it in your database.

    When you click on the update currency button to do a manual update, Zen Cart goes to the same places for the currencies but before putting them in your database, it applies a currency uplift factor to allow for the difference between the market mid-rate and the rate that you as a seller will actually get from your bank.

    By default Zen Cart applies a 5% currency uplift equivalent to a whopping 10% currency spread. Unless you're working with an "exotic" currency, you will probably want to change this amount on the Admin > configuration > My Store page (near the bottom) to something more reasonable.

    To apply the same uplift effect via the module would require some code changes.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #16
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Currency Update (Automatic)

    Hi Kimson.

    As it's Christmas, I've updated the mod to take account of Zen Cart's currency conversion ratio and uploaded the new version to the Admin section of the downloads area. So that automated and manual currency updates now give the same results.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #17
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    268
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by kuroi View Post
    Hi Kimson.

    As it's Christmas, I've updated the mod to take account of Zen Cart's currency conversion ratio and uploaded the new version to the Admin section of the downloads area. So that automated and manual currency updates now give the same results.
    I see CPU quote over 20% when use this add-ons....

  8. #18
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Currency Update (Automatic)

    That's curious since it only has 44 lines of code and the only loop cycles only as many times as you have currencies. With what frequency are you running your CRON job?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #19
    Join Date
    Feb 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hello,

    The problem might not always be with cron. Generally, if you run php from console, you should define where php resides on your system. Locate your php binary and add this to the first line of the currency_update.php:

    #!/usr/bin/php

    When the file (with +x rights) is run, it will tell the system to use the /usr/bin/php to interpret its contents.

    The plugin works extremely well, big thanks to the author :-)

  10. #20
    Join Date
    Apr 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by Danielle View Post
    Yep, you were right, thanks! I just had the cron job set up incorrectly. Works wonderfully now!

    I get the exact same error as you. And my cron job command is
    /home/emailname/public_html/currency_update.php
    [FONT=Arial]
    Is it correct? How did you get it right?

    Hope to hear from anyone of you who knows.
    Thank you
    [/FONT]

 

 
Page 2 of 30 FirstFirst 123412 ... LastLast

Similar Threads

  1. Automatic Currency Updates - curl version problem
    By mtimber in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Dec 2008, 07:53 PM
  2. Automatic Currency Selection for a domain
    By [email protected] in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 5 Jun 2007, 09:38 AM
  3. Automatic Currency Updates
    By dustyservers in forum Customization from the Admin
    Replies: 6
    Last Post: 28 Jun 2006, 12:38 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