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

balvan

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

balvan's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. архивчик, не забудьте прописать в theme/*themeName*/stylesheet/stylesheet.css .nevidim { display: none; } checkout.zip
  2. Всё разобрался, оказывается в theme/*themeName*/template/checkout/login.tpl после перезагрузки страницы галочка снималась с "оформить без регистрации", а этот шаг у меня скрыт и там автоматом нажимается кнопка продолжить(тоже скрытая), поставил по умолчанию галочку всё заработало. чуть позже закину папку /template/checkout/ которая подходит для шаблона default и сокращает оформления заказа в 2 шага, ввод адреса и подтверждение заказа с последующей переброской на платёжку, без выбора метода платежа и метода доставки
  3. Переделал оформление заказа из 6 шагов в 2, в theme/*themeName*/template/checkout добавил в начале файла класс к блокам div у которого в css(stylesheet) прописал display:none <div id="checkout" class="[attachment=4121:checkout.tpl.zip]"> <div class="checkout-heading"><?php echo $text_checkout_option; ?></div> <div class="checkout-content"></div> </div> css .nevidim { display: none; } ещё имитировал клики по кнопкам success: function(html) { $('#checkout .checkout-content').html(html); $('#checkout .checkout-content').slideDown('slow'); $('#button-account').click(); }, получается пользователь заходит на страницу оформления заказа, ненужные шаги скрыты от него, но всё грузится и проходит без его ведома, он вводит только адрес и подтверждает заказ, всё работает нормально но когда обновляешь страницу или пытаешься вернутся назад с сайта платёжной системы выходит ошибка Not Found Not Found <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ru" xml:lang="ru"> <head> ... <div id="content"> <div class="breadcrumb"> <a href="http://localhost/sirsh/index.php?route=common/home">Главная</a>'>http://localhost/sirsh/index.php?route=common/home">Главная</a> » <a href="http://localhost/sirsh/index.php?route=checkout/undefined">Запрашиваемая страница не найдена!</a> </div> <h1>Запрашиваемая страница не найдена!</h1> <div class="content">Запрашиваемая страница не найдена!</div> <div class="buttons"> <div class="right"><a href="http://localhost/sirsh/index.php?route=common/home" class="button">Продолжить</a></div> checkout.tpl.zip
Guest
×
  • 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.