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

NewStore - универсальный, адаптивный шаблон [Поддержка]


29aleksey
 Share

Recommended Posts

PHP7.4 OcStore 2.3.0.2.3 Newsore 2.6.1

FastCGI sent in stderr: "PHP message: PHP Deprecated:  Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /system/storage/modification/catalog/controller/checkout/newstorecheckout.php on line 1871

Подскажите пожалуйста где нужно наставить скобок?

Скрытый текст
                foreach ($product['option'] as $option) {
                    if ($option['type'] != 'file') {
						if (isset($option['option_value']))
						{
							$value = $option['option_value'];
						} else if (isset($option['value']))
						{
							$value = $option['value'];
						} else
						{
							$value = '';
						}
                    } else {
                        $filename = $this->encryption->decrypt(isset($option['option_value'])?$option['option_value']:isset($option['value'])?$option['value']:'');

                        $value = utf8_substr($filename, 0, utf8_strrpos($filename, '.'));
                    }

 

Уже вышла PHP8.2 может пора актуализировать код и выпустить обнову.

Link to comment
Share on other sites


27.05.2023 в 15:52, 29aleksey сказал:

@Denys в том месте не где их не нужно ставить . А вы пробовали поставить 23 движок на 82 PHP ? )

Конечно нет, меня PHP7.4 устраивает и все работает кроме оформления заказа, а PHP7.4 на сегодняшний день считается минимальной безопасной.

Протестируйте на nginx+PHP-FPM7.4+ быстрое оформление заказа и предоставьте фикс, потому что терять пользователя когда он уже готов купить самое печальное что может быть.

Link to comment
Share on other sites


  • 1 month later...

Здравствуйте. Собираюсь купить ваш шаблон. Я начинающий и пытаюсь сделать магазин самостоятельно. 

Использую VPS + hestiacp + ocstore 2.3.0.2.4. Мне неизвестно, что такое IonCube Loader и смогу ли я его установить самостоятельно? 

Link to comment
Share on other sites


  • 1 month later...

Добрый день.

OPENCART.PRO Версия 2.3

В настройках шаблона - Корзина покупок - Всплывающее окно при добавлении товара в корзину

Пробую разные варианты, но ничего не меняется. При добавлении товаров всплывает информер и пропадает.
Как сделать окно с кнопками *продолжить покупки* и *оформить заказ* ?
Link to comment
Share on other sites


  • 2 weeks later...

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

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