Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 1 Ответов
  • 3476 Просмотров
*

konetski

  • Новичок
  • 5
  • 0 / 0
Спасибо вам за то, что вы тратите своё время и я буду до бесконечности вам благодарен если вы сможете оказать мне помощь. Проблема в том, что когда нажимаешь на "Add/Edit shipment address" в корзине заказов, открывается пустая страница без полей для заполнения контактных данных получателя товара "Ship To", а "Bill To" отлично работает.
P.s  Проблема остаётся и после авторизации пользователя, т.е. зайдя своим аккаунтом я также не могу внести Ship To Adress.


Спасибо
*

konetski

  • Новичок
  • 5
  • 0 / 0
Я нашёл по этой теме информацию на совсем для меня не понятном английском языке, может вы поможете разобраться? Спасибо.

---------------------------------------------

I noticed that after updating to 2.0.6 and VirtueMart make changes to the template no longer add additional shipping addresses.

The problem occurred in the edit_address.php catch pattern
Code: [Select]
<? php if (! empty ($ this-> virtuemart_userinfo_id)) {
echo '<input type="hidden" name="shipto_virtuemart_userinfo_id" value="'.(int)$this-> virtuemart_userinfo_id.' "/> ';
}
echo JHTML :: _ ('form.token');
?>

If the parameter $ new = 1 virtuemart_userinfo_id variable is set to 0. Since "! Empty ()" responds to this as an empty string is respectively in the model user.php not be carrying out the condition if (isset (shipto_virtuemart_userinfo_id)) and there are no records in the database.

Solving problems delete an additional condition in the template file, or to correct model user.php on line 865
Code: [Select]
if (isset ($ data ['shipto_virtuemart_userinfo_id'])) {
changed to:
Code: [Select]
if ($ data ['address_type'] == 'ST' | | isset ($ data ['shipto_virtuemart_userinfo_id'])) {

Please correct this in the next version, and I apologize for bad English

P.S. From the administrative part of the site as an additional shipping address is not added. On the solution of this problem, I have not understood


-----------------------------------------------
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Не работает captcha... опять

Автор Mick_20

Ответов: 1
Просмотров: 11678
Последний ответ 29.05.2025, 09:12:42
от sivers
В Joomla 2.5 VirtueMart 2.0.26d не работает добавление в корзину под мобилку

Автор kvintovskiy

Ответов: 8
Просмотров: 2811
Последний ответ 15.04.2024, 17:29:25
от Vastriet
Не работает Вебвизор Яндекс из-за mootools

Автор MultiMatrix83

Ответов: 5
Просмотров: 4805
Последний ответ 01.03.2022, 14:40:23
от draff
Кнопка “Добавить в корзину” VirtueMart не работает на главной странице сайта

Автор max_max

Ответов: 0
Просмотров: 7639
Последний ответ 20.04.2021, 12:40:37
от max_max
Компонент "перенаправленные" com_redirect как работает?

Автор Victor333

Ответов: 9
Просмотров: 3993
Последний ответ 21.08.2019, 22:10:37
от AlekVolsk