Latest News: (loading..)

tmcca

Members
  • Content count

    86
  • Joined

  • Last visited

  1. It was a mistake posting magento I have both was trying out magento
  2. 2.3.4 I can't use bootstrap yet way too many mods. Ok I will check bootstrap I guess and go slowly converting over
  3. Do I have to put copy of configure.php in mobile dir?
  4. I checked my logs: PHP Warning: include(includes/configure.php): failed to open stream: No such file or directory in /var/www/html/catalog/i$ [Fri Sep 15 23:19:47.053396 2017] [:error] [pid 9875] [client 192.168.1.5:38240] PHP Warning: include(): Failed opening 'includes/configure.php' for inclusion (include_path='.:/usr/share/php') in /var/w$ [Fri Sep 15 23:19:47.053584 2017] [:error] [pid 9875] [client 192.168.1.5:38240] PHP Warning: require(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /var/www/html/cat$ [Fri Sep 15 23:19:47.053599 2017] [:error] [pid 9875] [client 192.168.1.5:38240] PHP Fatal error: require(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/share/php') in /$ My configure.php <?php define('HTTP_SERVER', 'http://petunderground.com'); define('HTTPS_SERVER', 'http://petunderground.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); //BOF Mobile define('HTTP_MOBILE_SERVER', HTTP_SERVER); define('HTTPS_MOBILE_SERVER', HTTPS_SERVER); define('DIR_WS_HTTP_MOBILE', DIR_WS_HTTP_CATALOG . 'mobile/'); define('DIR_WS_HTTPS_MOBILE', DIR_WS_HTTPS_CATALOG . 'mobile/'); (defined('MOBILE_SESSION') ? define('DIR_WS_IMAGES', ((getenv('HTTPS') == 'on')? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_HTTP_CATALOG) . 'images/') : define('DIR_WS_IMAGES', 'images/')); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); (defined('MOBILE_SESSION') ? define('DIR_WS_INCLUDES', '../includes/') : define('DIR_WS_INCLUDES', 'includes/')); //EOF Mobile define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); //BOF Mobile define('DIR_MOBILE_IMAGES', 'images/'); define('DIR_MOBILE_INCLUDES','includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', DIR_MOBILE_INCLUDES . 'languages/'); //EOF Mobile //BOF Mobile (defined('MOBILE_SESSION') ? define('DIR_WS_DOWNLOAD_PUBLIC', HTTP_SERVER . DIR_WS_HTTP_CATALOG . 'pub/') : define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/')); //EOF Mobile define('DIR_FS_CATALOG', '/var/www/html/catalog/'); //BOF Mobile define('DIR_FS_MOBILE', DIR_FS_CATALOG . 'mobile/'); //EOF Mobile define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ?>
  5. @raiwaI am getting blank page with Iphone 6 testing my site. It seems to say this http://petunderground.com/catalog/mobile/?redirectCancelled=true What could be the problem?
  6. I got a template from template monster what files need to be changed usually for a template?
  7. Maybe that's why I don't have that box it's just says discount code with box at checkout payment
  8. I am redoing my site and when completed I will show a screenshot
  9. What version u using? Bootstrap or 2.3.4?
  10. Ok Discount BS now works with Paypal standard looking into this soon for this addon.
  11. I tested and my code works. No button just a box that is it unless I am missing something
  12. I also think should be a button like Redeem or something I will look into that hopefully tm just on other projects at moment.
  13. @Dan Cole @Rainer @lambro I like to add this to the app on oscommerce but not sure how. Test this please before I am using Paypal APP V5.018
  14. Okay I got it working I think please test on your end: Line #363 change this to 'amount_1' => $this->_app->formatCurrencyRaw($order->info['total'] - $order->info['shipping_cost'] - $total_tax + (empty($discount) ? 0 : $discount)), // Discount Code Line #387 Find if (is_numeric($sendto) && ($sendto > 0)) { Add this before this: // Discount Code - start if (!empty($discount)) { $parameters['discount_amount_cart'] = $this->_app->formatCurrencyRaw($discount); } // Discount Code - end Find function before_process() { Add global $discount to the global variables That should be it
  15. Is that code above send parameters to PayPal for receipt?