Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

About DAVID3733

  • Birthday 01/01/1964

Profile Information

Recent Profile Visitors

10,607 profile views
  1. Hello I was using XE for a while but now that has stopped working I signed up for a free account on Fixer, but the base currency is fixed to EUR, as use GBP i cannot use it usless i upgrade to the basic account which is only £10 per month but many a mickle makes a muckle so i am now using $ch = curl_init('https://api.exchangeratesapi.io/latest?&base=' . $from . '&symbols=' . $to); from https://exchangeratesapi.io/ seems to work at the moment, to make it easier i have included the whole section below that would go in Admin/includes/functions/ localization.php (dont forget you have to select define('CURRENCY_SERVER_PRIMARY', 'fixer'); in admin/application_top.php) Not a coder just a store owner so make your own enquires as to whether this is suitable for you function quote_fixer_currency($to, $from = DEFAULT_CURRENCY) { if ($to == $from) return 1; $ch = curl_init('https://api.exchangeratesapi.io/latest?&base=' . $from . '&symbols=' . $to); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = curl_exec($ch); curl_close($ch); $currencies = json_decode($data, true); if (isset($currencies['rates'][$to])) { return $currencies['rates'][$to]; } else { return false; } }
  2. DAVID3733

    Paypal not registering Customer Name

    Worked for me only difference was I had tep_db_perform('customers', $sql_data_array); instead of tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); thank you
  3. Works for me, 2.3.4BS Previously used fixer Thank you
  4. DAVID3733

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Gustavo Yes this works, bypass's the requirement for the local 404 / 410 not found file (within the SEO URL 5), I use Jack MC's Header status contrib. and also use a contact me page for all the 404's and 410's Thank you for sharing David
  5. DAVID3733

    ULTIMATE Seo Urls 5 - by FWR Media

    Yes I also have that installed, and 404's I do not have a problem with, they go to a 404 page with all the site wrapped around, a copy of the contact page which works well but the seo_url5 pro handles the 410 gone and sends it to its own 410 page, using the function in my previous post, that page has the header info in it so it only handles the 410
  6. DAVID3733

    ULTIMATE Seo Urls 5 - by FWR Media

    If I understand the question right in the validator.php there is this function private function pageNotFound() { include_once Usu_Main::i()->getVar( 'includes_path' ) . 'uri_redirects_class.php'; if ( false !== ( $url = Uri_Redirects::i()->needsRedirect() ) ) { $this->redirect( $url ); } session_write_close(); header( "HTTP/1.0 404 Not Found" ); include_once Usu_Main::i()->getVar( 'includes_path' ) . 'notfound_410.php'; exit; the notfound_410.php is within a includes folder within seo_urls5 folder $text = array( 'title' => 'Page not found', 'text' => 'The product or information you\'ve been looking for is no longer available.<br>To see information or available products click the link below: ' . '<p><a href="' . tep_href_link( FILENAME_DEFAULT ) . '" title="' . STORE_NAME . '">' . STORE_NAME . '</a><p><br>' ); header( "HTTP/1.0 410 Gone" ); ?> <!DOCTYPE html> <html <?php echo HTML_PARAMS; ?>> <head> <title>410 Page Not Found</title> <style> img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ } </style> </head> <body> <div id="bodyWrapper" class="container-fluid"> <div class="row"> <div class="modular-header"> <div id="storeLogo" class="col-sm-12"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '"><img src="http://www.mywebsite/logo.png" alt="my website" title="my website" class="img-responsive" /></a>'; ?> </div> </div> <div style="background-color: #000000; font-size: 12pt; font-weight: bold; padding: 0.5em; color: #ffffff;"> <div style="float: right; color: #0073BA; font-weight: bold; font-size: 16pt;"></div><?php echo $text['title']; ?></div><br> <div style="padding: 0.5em; font-size: 9pt; font-family: verdana;"><?php echo $text['text']; ?></div> </div> </div> </div> </body> </html> and that's the page he wants with site wrapped around I could never manage it would be great if it could go to top level 404 page instead of that local one David
  7. DAVID3733

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Jack_MC Although that does divert to the page it does not seem to take the header info with it so it becomes a 302 found rather than a 404 or 410 Regards David
  8. Hi There Have this working on desktop, should it also show in mobile view, installed it sometime ago so maybe I am running an old version, or maybe it is not suitable for mobile view, running 2.3.4bs Regards David
  9. DAVID3733

    ULTIMATE Seo Urls 5 - by FWR Media

    sorry should have been example-c-123.html and example-c-456_123.html
  10. DAVID3733

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi There I have just spent a few hours trying to read all the posts and the only similar items i can find link to non existent pages so i will ask the question I have 2.3.4BS with USU5 installed All works as it should apart from child categories example-c-123.html and example-c-123_456.html both show as pages, the first having been moved to category 456 at a later stage, canonical is different for them so the first one is now duplicate data I would have thought that the former should 301 to the latter but it does not Does anybody know how i can fix this? Thank you David
  11. Aha Now works perfect, thank you David
  12. Hello I have installed this plug in on a 2.3.4BS installation as instructed Upon checkout success i was expecting to see a overlay from google asking if its ok for them to contact the buyer, or is that not the case and it just tells google there have been a sale in the background, on the checkout success page if i view the source it seems to be there </script><!-- BEGIN GCR Opt-in Module Code --> <script src="https://apis.google.com/js/platform.js?onload=renderOptIn" async defer> </script> <script> window.renderOptIn = function() { window.gapi.load('surveyoptin', function() { window.gapi.surveyoptin.render( { // REQUIRED "merchant_id": *****changed but my merchant code is correct*****, "order_id": "78551", "email": "****changed but email adress is correct*******t", "delivery_country": "GB", "estimated_delivery_date": "2017-05-26", // OPTIONAL "opt_in_style": "TOP_LEFT_DIALOG" }); }); } </script> <!-- END GCR Opt-in Module Code --> Is there anything i have to set up with google, I have a google merchant center account, which used to be froogle and that is the number i have used Thank you for you time David
  13. DAVID3733

    Automatically send data feed to Froogle

    To partially answer my own question, yes you can use the category name, but that does not help, as the product is in more than one category so it has more than one category name so back to the drawing board
  14. DAVID3733

    Automatically send data feed to Froogle

    Hello I use Custom labels 0, 1 , 2 etc to control in adwords through the feed My question is when a product is in more than one category products_to_categories.categories_id and categories.parent_id but it seems that if its in more than one category only the one of either is listed in the feed can you suggest a way around this I was thinking combining parent and cat ID but that does not work possibly thinking about using cat name instead but if it changes that might cause issues and not sure if the custom labels only accept numbers or a restriction on digits is there another way round this regards david
  15. DAVID3733

    Automatically send data feed to Froogle

    Just as a update i put the googlefeeder.php in the catalog and commented out chdir('../'); to test and it works as it should So there must be a permission problem probably something that application_top.php is calling but haven't found it yet I assume hard coding chdir('../') will not make any differnce as it will still be calling everything from within catalog rather than admin so i will keep looking, looks like all =the folders though are 755, some files are 644 and some 755