Jump to content

mathanganesh

Members
  • Posts

    33
  • Joined

  • Last visited

About mathanganesh

  • Birthday 10/06/1988

Contact Methods

Profile Information

  • Location
    India
  • Activity
    Developer

Recent Profile Visitors

2,752,575 profile views

mathanganesh's Achievements

Newbie

Newbie (1/14)

  • One Month Later Rare
  • One Year In Rare
  • Week One Done Rare

Recent Badges

6

Reputation

  1. Override file with the following should work? <?php /** * 2007-2018 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2018 PrestaShop SA * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /** * @since 1.5.0 */ class Dispatcher extends DispatcherCore { /** * @var array List of default routes */ public $default_routes = array( ... ... ... 'product_rule' => array( 'controller' => 'product', 'rule' => '{category:/}{id}{-:id_product_attribute}-{rewrite}{-:ean13}.html', 'keywords' => array( 'id' => array('regexp' => '[0-9]+', 'param' => 'id_product'), 'id_product_attribute' => array('regexp' => '[0-9\pL]*'), 'rewrite' => array('regexp' => '[_a-zA-Z0-9\pL\pS-]*', 'param' => 'rewrite'), 'ean13' => array('regexp' => '[0-9\pL]*'), 'category' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), 'categories' => array('regexp' => '[/_a-zA-Z0-9-\pL]*'), 'reference' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), 'meta_keywords' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), 'meta_title' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), 'manufacturer' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), 'supplier' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), 'price' => array('regexp' => '[0-9\.,]*'), 'tags' => array('regexp' => '[a-zA-Z0-9-\pL]*'), ), ), ... ... ); }
  2. Did you find the problem, I also face same issue. In my case the partial use is enbaled. And this will create the duplicate voucher code. The main issue is our customers got discount amount on the products also and finally they created free orders.
  3. Hi, I have been looking for the same long time and finally found a solution working for me. May be will help some one. require_once $_SERVER['DOCUMENT_ROOT'].'/config/config.inc.php'; $current = getcwd(); class ContentPageCutomized extends FrontController { public function initContent() { parent::initContent(); } public function displayHeader() { $hook_header = Hook::exec('displayHeader'); if ((Configuration::get('PS_CSS_THEME_CACHE') || Configuration::get('PS_JS_THEME_CACHE')) && is_writable(_PS_THEME_DIR_.'cache')) { // CSS compressor management if (Configuration::get('PS_CSS_THEME_CACHE')) $this->css_files = Media::cccCSS($this->css_files); //JS compressor management if (Configuration::get('PS_JS_THEME_CACHE')) $this->js_files = Media::cccJs($this->js_files); } $this->context->smarty->assign(array( 'meta_title' => 'My title' )); // Call hook before assign of css_files and js_files in order to include correctly all css and javascript files $this->context->smarty->assign(array( 'HOOK_HEADER' => $hook_header, 'HOOK_TOP' => Hook::exec('displayTop'), 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''), 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''), 'HOOK_FOOTER' => Hook::exec('displayFooter') )); $this->context->smarty->assign(array( 'css_files' => $this->css_files, 'js_files' => ($this->getLayout() && (bool)Configuration::get('PS_JS_DEFER')) ? array() : $this->js_files, 'js_defer' => (bool)Configuration::get('PS_JS_DEFER'), 'errors' => $this->errors, 'display_header' => $this->display_header, 'display_footer' => $this->display_footer, )); $layout = $this->getLayout(); if ($layout) { if ($this->template) { $template = $this->context->smarty->fetch($this->template); echo 'might be'; } else { // For retrocompatibility with 1.4 controller ob_start(); $this->displayContent(); $template = ob_get_contents(); ob_clean(); } $this->context->smarty->assign('template', $template); $this->smartyOutputContent($layout); } else { Tools::displayAsDeprecated('layout.tpl is missing in your theme directory'); if ($this->display_header) { $this->smartyOutputContent(_PS_THEME_DIR_.'header.tpl'); } if ($this->template) { $this->smartyOutputContent($this->template); } else { // For retrocompatibility with 1.4 controller $this->displayContent(); } } } public function init() { parent::init(); } public function displayContent() { ?> //Start your html content here Your content here //End your htmlcontent here } } $controller=new ContentPageCutomized(); $controller->init(); $controller->setMedia(); $controller->initHeader(); $controller->displayHeader(); $controller->initContent(); ?>
  4. HI, Have you found any module for this. I'm looking some thing same.
  5. Im wonderng how did you create these many combination? When i generate combination for 32 items its not even creating. All the time end up with errors. I tried by increassing memory limit, input time etc.. !
  6. Anybody figured out the issue? Im having the same issue in the latest version: Notice: Undefined index: PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE in /home/kittyk7/public_html/modules/paypal/express_checkout/payment.php on line 91 Fatal error
  7. I have a strange issue in prestashop. In my cart if i add one particular product then the carrier is not available, removing the product from cart shows carrier. In my product shipping tab also there is no carrier selected, it means all the carrier mshould be applicable. Any one faced this issue. Thanks in advance.
  8. Hi ,I have installed latest version of authorize.net module and Im using prestashop version 1.5.3.1. The authorize details Im using in my cubecart works fine, but the same detail in prestashop not working. It throws Aborted message. Any idea?
  9. Hi, I'm using PS 1.5.2, here i'm facing an issue, in checkout process after address it is not redirecting to shipping. Keep redirecting to address page itself. http://www.ruposhi-dokan.com/ Any help?,.Thanks in advance.
  10. I work on http://nutritionshoppe.in . Whenever i try to ordder one product it is worrking fine. But when i try to order morre than 2 or 3 products it throw me 500 internal server error. File permission for folders all 755 and files 644. Host provider says erro log message [Thu Oct 25 08:11:08 2012] [error] [client 74.202.255.243] Premature end of script headers: validation.php [Thu Oct 25 08:11:08 2012] [error] [client 74.202.255.243] File does not exist: /home/rahil/public_html/500.shtml And another kind of error. Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in E:\HostingSpaces\hitbullseye\okidoqui.hitbullseye.co.in\wwwroot\classes\Db.php on line 518. Help me on this Please.
  11. This error is consistently happening in prestshop in different situtation for each useer. What could be the permanent soltuion for this. I suffered many times. Still not able to figure out
×
×
  • Create New...