Show Posts


Messages - mesm

Pages: [1]
1
Tips and Tricks / Re: Forward past the category page to the product page
« on: February 15, 2014, 05:20:38 AM »

This is the solution from another system, but the code is almost identical.

Code:
Quote
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/category.tpl')) {
                $this->template = $this->config->get('config_template') . '/template/product/category.tpl';
            } else {
                $this->template = 'default/template/product/category.tpl';
            }

Replace with this:
Quote
    $this->data['continue'] = $this->url->link('common/home');
                 if (!isset($this->request->get['route']) || (isset($this->request->get['route']) && (isset($this->request->get['path']) && $this->request->get['path']==='61_73' ))){
               
                $this->redirect($this->url->link('product/product&path=61_73&product_id=58', '', 'SSL'));       
               
                }else if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/category.tpl')) {
                    $this->template = $this->config->get('config_template') . '/template/product/category.tpl';
                } else {
                    $this->template = 'default/template/product/category.tpl';
                }

This is the code in public_html\core\lib\template.php - Line 33:
Quote
      if (file_exists(DIR_TEMPLATE . $this->config->get('config_storefront_template') .  '/template/'.  $filename)) {
            $filename = $this->config->get('config_storefront_template') . '/template/'.  $filename;
        } else {
            $filename = 'default/template/'.  $filename;
        }

Can anyone help with the decision, according to the example?

2
Tips and Tricks / Re: Forward past the category page to the product page
« on: January 26, 2014, 10:06:27 AM »

Is there a ready solution for this, me too I need?

3
Feedback on My Store / Best Cart Script
« on: January 22, 2014, 11:09:11 AM »
Hello!
Working on a site where you do not need payment.
My site - ivan.dimov.bg-art.in/

I have two questions.
How to remove specific menu from the admin panel?
How do I change the button on the home page banner slider?

Sorry to English by Google translator is ..

Pages: [1]

Powered by SMFPacks Social Login Mod