Post by prototype0104 » Fri Aug 14, 2020 5:47 pm

Hi guys! I'm using O.C 3.0.3.2 and multistore. Store 1 have Journal 3 theme and Store 2 have Default theme.
The problem is that on Store 1 products are listed by sort_order and on Store 2 products are listed by quantity.

category controller:

Code: Select all

if (isset($this->request->get['sort'])) {
			$sort = $this->request->get['sort'];
		} else {
			$sort = 'p.sort_order';
		}
and:

Code: Select all

$data['sorts'] = array();

			$data['sorts'][] = array(
				'text'  => $this->language->get('text_default'),
				'value' => 'p.sort_order',
				'href'  => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.sort_order&order=ASC' . $url)
			);

Active Member

Posts

Joined
Sun Mar 24, 2019 6:08 pm
Location - Romania

Post by JNeuhoff » Fri Aug 14, 2020 6:38 pm

As a process of elimiation, temporarily switch to the default theme for store 1, to see whether this issue still exists. If it then works, then you will have to use another proper standard-compliant web theme for store 1.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 4 guests