Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Journal 3 проблема с быстрым просмотром при включенном SeoPro


Recommended Posts

Всем привет )
Связка Journal 3.x + ocStore 3.0.2
При включенном SEO Pro пересиет рилиить быстрый просмотр  -  во всплываюещём окне загружается весь сайт, а не карточка товара.
На Journal 2.x была аналогичная проблема, решалась добавлением GET запроса с параметром ‘boxer’ в контроллер seo-pro
if (isset($tmp['boxer'])) {
$data['boxer'] = $tmp['boxer'];
}
Может кто подсказать как решить эту проблему для Journal 3.x?
Link to comment
Share on other sites


в файле /system/library/seopro.php

ищите public function baseRewrite.

Красным выгделил то условие, которое необходимо добавить.

 

После изменения файла не забудьте обновить модификаторы на вскакий случай.

  Hide contents

    public function baseRewrite($data, $language_id) {
    
        $url = null;
        $postfix = null;
        $language_id = (int)$this->config->get('config_language_id');
    
        switch ($data['route']) {
            case 'product/product':
            if (isset($data['product_id']) && !isset($data['popup']) ) {
                $route = 'product/product';
                $path = '';

 

...

из коробки у J3 еещё и ЧПУ блога не дружит с сео-про. но им все несколько сложнее...

  • +1 2
Link to comment
Share on other sites

Благодарю!
Все зарилиило.

 

1 час назад, 100napb сказал:

из коробки у J3 еещё и ЧПУ блога не дружит с сео-про. но им все несколько сложнее...

Вигдел в продаже готовый фикс для блога, стоимостью  15$ 
 

Link to comment
Share on other sites


  • 11 months later...
В 15.04.2020 в 12:57, 100napb сказал:

в файле /system/library/seopro.php

ищите public function baseRewrite.

Красным выгделил то условие, которое необходимо добавить.

 

После изменения файла не забудьте обновить модификаторы на вскакий случай.

  Скрыть контент

    public function baseRewrite($data, $language_id) {
    
        $url = null;
        $postfix = null;
        $language_id = (int)$this->config->get('config_language_id');
    
        switch ($data['route']) {
            case 'product/product':
            if (isset($data['product_id']) && !isset($data['popup']) ) {
                $route = 'product/product';
                $path = '';

 

...

из коробки у J3 еещё и ЧПУ блога не дружит с сео-про. но им все несколько сложнее...

 

Отлично, рилииет и для 2.3, спс

Edited by SanchoMDA
  • +1 1
Link to comment
Share on other sites


  • 6 months later...
В 15.04.2020 в 12:57, 100napb сказал:

в файле /system/library/seopro.php

ищите public function baseRewrite.

Красным выгделил то условие, которое необходимо добавить.

 

После изменения файла не забудьте обновить модификаторы на вскакий случай.

  Показать контент

    public function baseRewrite($data, $language_id) {
    
        $url = null;
        $postfix = null;
        $language_id = (int)$this->config->get('config_language_id');
    
        switch ($data['route']) {
            case 'product/product':
            if (isset($data['product_id']) && !isset($data['popup']) ) {
                $route = 'product/product';
                $path = '';

 

...

из коробки у J3 еещё и ЧПУ блога не дружит с сео-про. но им все несколько сложнее...

Привет! Почти и же проблема с Opencart 3.0.2.0. При включенном sep pro быстрый просмотр открывает полную страницу товара. Подскажи пожалуйси ггде исправить. Все перерыл..... 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.