Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name

Recent Profile Visitors

3,990 profile views
  1. Portman

    Auto Update Currencies

    Thanks for your time @Jack_mcs
  2. Portman

    Auto Update Currencies

    No it doesn't. - does this mean it is not related to auto update?
  3. Portman

    Auto Update Currencies

    hey @Jack_mcs,I It is related to Auto update currencies, I am using version 1 (as I mentioned in the post this is for my active 2.3.4 site which is going to be retired soon) I thought because Auto Update currency calls localization.php this was the place to post this, sorry if I am wrong.
  4. Portman

    Auto Update Currencies

    Hi, I am working on a new phoenix site, but have just realized that my auto update currency in my live site, which is 2.3.4 is not working. Yet it has only been a few months that it has not worked for ... At first I thought it was that my API key had lapsed, but I got that checked and put the link into a browser with my API key and it worked fine... so not sure why its not working... this is the error I am getting in the error log; PHP Warning: file(https://xurrency.com/api/gbp/aud/1?key=xxxx): failed to open stream: Connection refused in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 19 PHP Warning: implode(): Invalid arguments passed in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 20 PHP Warning: Invalid argument supplied for foreach() in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 22 PHP Warning: Invalid argument supplied for foreach() in /home/creativ3/public_html/orders/admin/includes/functions/localization.php on line 29 if I put the link into a browser this is the response I get: {"status":"ok","code":0,"result":{"value":"1.7995","base":"gbp","target":"aud","updated_at":"2020-09-24T00:00:08Z"}} So my API Key is working.... here is the appropriate code from localization.php; function quote_xurrency_currency($base, $target = DEFAULT_CURRENCY) { if ($target == $base) return 1; $base = strtolower($base); $target = strtolower($target); $page = file('https://xurrency.com/api/' . $base . '/' . $target . '/1?key=' . XURRENCY_KEY); $result = implode(",", $page); $result = json_decode($result,true); foreach ($result as $key => $value2) { if ($key == 'code') { if ($value2 != '0') { return false; } } } foreach ($value2 as $key2 => $value3) { if ($key2 == 'value') { $value = $value3; } } if (sizeof($value) > 0) { return $value; } else { return false; } } It has been so long since I got this to work that I am having trouble working out what the problem could be - I'm obviously not the strongest coder - I can probably solve it with a couple of hours work, but if anyone with a keener eye than mine can see the problem I would really appreciate it.
  5. Hi I’m looking for good options for templates for Phoenix... I have found @burt’s templates, and think one of those will work for me, but just want to know if there are other good options out there... are oscommerce responsive bootstrap templates any use or are they too much trouble? happy to pay a good price for a good template. If anyone can direct me to any sites (assuming that doesn’t break any rules) I’d really appreciate it.
  6. Portman

    connecting to database issues

    ok the admin issue was due to .htaccess not being updated ... and I can access the customers from there but the front of house is still having the same issues
  7. Hi, I have just asked my hosting company to set up a dev site that they have cloned my existing website and databases onto... when I go to the oscommerce section of the website - the site is being populated from the database, but when i try to log in as a customer it simply reloads the home page without logging me in or giving me an error. I created a new customer - which is now on the database - but after I created it it gave me the 'congratulations' page but the customer was still not logged in... I have checked through the config files and I think these are all in order, is there something else I might be missing to get this working? the admin side is not loading either - after filling in the login info (on the popup not on the login page) if gives me a 500 Internal Server Error. any help would be appreciated.
  8. Hi, I have installed the Payway shopping cart plugin - which was supplied by my bank but not actually supported by them for technical help. The Payway "trusted frame" set up is server to server - like paypal, where the customer is redirected to the Payway site to make payment then redirected back to the oscommerce site once payment is made. Successful transactions seem to work fine. However there is a 'return to website' button on their site - if you decide not to use this payment method it is supposed to return you to the shopping cart. however when you use this option it returns you to an empty shopping cart and OScommerce has treated it like a successful order (ie it shows up in order history as pending in both front of house and admin ) I am hoping someone has come across this issue with payway or similar add on and can give me some tips on how to fix it
  9. Portman

    Help with Modal Addons

    Thanks @JcMagpie, is this the one you are suggesting? https://apps.oscommerce.com/89uS9&modular-checkout-pages-bs
  10. Hi, Is there a particular modal Addon that I can add to the main body of my website... rather than in the left or right box or shopping cart type sections. I have one or two places on my website (one on checkout_confirmation page, and 'Ill probably want to add one on the payment page as well) .... If there is not one for my particular need then what would be the best addon for me to modify (particularly thinking I will need a couple of them operating at once on different pages) I am using the most up to date BS frozen
  11. Portman

    adding to specials and whats new boxes

    thanks @multimixer I was trying to plug the variable in there rather than the record from the database...
  12. Ok, so I'm playing around with hiding particular products from particular customers... I have made a variable $hide_product where the value 1 means the product is hidden and 0 means it is visible... I am trying to modify bm_specials.php and bm_whats_new.php so that if $hide_product = 1 that product does not show up in the box and another is selected... Im assuming it is these lines of code I need to modify, but for the life of me I can't figure it out bm_specials.php if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from products p, products_description pd, specials s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added desc limit " . MAX_RANDOM_SELECT_SPECIALS)) { bm_whats_new.php if ($random_product = tep_random_select("select products_id, products_image, products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_status = '1' order by products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) { any help would be appreciated
  13. Portman

    call to new function in addon

    thanks @raiwa... that was what I needed to know! Yes I am modifying one of your addons - or at least trying to - at this stage trying to create the ability to hide products from particular wholesale groups
  14. Hi I am using BS Frozen I have been doing some modifications to an add-on and I have created a new <function> to the code to make the add-on operate in the way I need it to... This has worked fine within the files of the add-on.... Now I want to call that function (located in catalog/includes/module/store/st_addon.php) in catalog/product_info.php... Can I do that? and if so how?
  15. Portman

    Separate Pricing Per Customer for Edge

    Hi @raiwa I have installed your app on a clean install of edge so I can play around with it and make sure it does what I want with it... I have come across a problem that makes me think something has gone wrong with my installation... but maybe I am just reading it wrong... I am trying to add multiple groups the instructions say; but I cannot find any reference to wholesale group numbers in there... here is a screenshot Ill be so grateful if this app can work for my requirements, any help would be appreciated.