Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ruden

Banned
  • Posts

    115
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by ruden

  1. revert code https://github.com/ruden/vanilla-oscommerce/commit/12056c114e2e1b904a039db0400215961c3a96b2

    27 minutes ago, ebarrett said:

    alas, this seems to have made things worse rather than better. Now if i log in using paypal the window doesnt close and update the page, it just does the re direct on the pop up window.. also, it didnt make any difference to the payment page pop up. It still just refreshes and says i need to log in to pay (or use card details if i dont have an account) 

    I'll figure out what the mistake is

  2. On 6/18/2021 at 5:58 PM, ebarrett said:

    I select paypal at the payment page, and it takes me to a blank page at the following url:

    replace the code in the file /ext/modules/payment/paypal/express.php 

    https://raw.githubusercontent.com/ruden/vanilla-oscommerce/dev/catalog/ext/modules/payment/paypal/express.php

    you can check on the demo site

    https://demo.osclab.com/vanilla-oscommerce/

  3. In file sitemap.php this code

      if (SEARCH_ENGINE_FRIENDLY_URLS == 'true' || (defined('SEO_ENABLED') && SEO_ENABLED == 'true')) {
        $languages_array = tep_db_query("SELECT code FROM languages");
        while ($languages = tep_db_fetch_array($languages_array)) {
          $file_extension = ($languages['code'] == DEFAULT_LANGUAGE ? '' : '-' . $languages['code']);
    
          create_sitemap($file_extension . '.xml');
          create_sitemap_catalog($doc, $root, $file_extension . '.xml');
        }
      } else {
        create_sitemap();
        create_sitemap_catalog($doc, $root);
      }

    replace with

      //if (SEARCH_ENGINE_FRIENDLY_URLS == 'true' || (defined('SEO_ENABLED') && SEO_ENABLED == 'true')) {
        $languages_array = tep_db_query("SELECT code FROM languages");
        while ($languages = tep_db_fetch_array($languages_array)) {
          $file_extension = ($languages['code'] == DEFAULT_LANGUAGE ? '' : '-' . $languages['code']);
    
          create_sitemap($file_extension . '.xml');
          create_sitemap_catalog($doc, $root, $file_extension . '.xml');
        }
      //} else {
      //  create_sitemap();
      //  create_sitemap_catalog($doc, $root);
      //}

    OR

    If you know what constant controls the inclusion of your SEO add-on, then just replace SEO_ENABLED with [YOUR_SEO_ADDON_ENABLED]

  4. Add-on updated

    Add support Hook System

    ⚠️ This add-on use Hook System, for versions below < 2.3.5 install Hook System

    https://apps.oscommerce.com/p9Yyp&hook-system

    On 1/30/2020 at 7:36 AM, NateNg said:

    How to implement in pwa_account.php?

    Create directory  includes/hooks/shop/pwa_account

    Copy file includes/hooks/shop/create_account/Recaptcha3.php in includes/hooks/shop/pwa_account

    In file includes/hooks/shop/pwa_account/Recaptcha3.php

    replace $this->form_name = basename(dirname(__FILE__));

    $this->form_name = 'create_account';

×
×
  • Create New...