Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Лента RSS последних товаров 1.26

   (2 reviews)    Find their other files

  202 4,350

2 Screenshots



    Create an account or sign in to download this

About This File

RSS Feed v1.26

Модуль похож на RSS лента Последних поступлений 1, но переделан и дополнен.

Теперь модуль проходит валидацию на feedvalidator.org valid-rss-rogers.png

Данный модуль выводит в RSS ленту "Последние поступления". В настройках устанавливается лимит на товар для вывода в ленту, выгружать или нет изображения, показывать ли цену.

демо: http://feeds.feedburner.com/losini

Совместимость:

Opencart v1.5.6.x

OcStore v1.0.1, OcStore v1.5.5.x

Работает на OpenCart 1.5 - 1.5.6.4

Примечание: Известная проблема Opencart и OcStore, когда URL картинок может быть с пробелами, что не даст пройти валидацию и будет мешать экспорту.

Решение:

В файле catalog/model/tool/image.php найти строки:

$image_path = explode ('/', trim(DIR_IMAGE, '/'));		$image_folder = end($image_path);        if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1'))) {			return $this->config->get('config_ssl') . $image_folder . '/' . $new_image;		} else {			return $this->config->get('config_url') . $image_folder . '/' . $new_image;

и заменить на эти:

$parts = explode('/', $new_image);		$new_image = implode('/', array_map('rawurlencode', $parts));		if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1'))) {			return $this->config->get('config_ssl') . 'image/' . $new_image;		} else {			return $this->config->get('config_url') . 'image/' . $new_image;



User Feedback

  • 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.