paypalexpress(或任何快递选项)-magento-“条款和条件”
更新
(选项一):
在 magento 中,在一页结账的第 6 步,您会看到条款和条件。
现在的问题是:
使用 PayPal Express Checkout(或任何快速选项,例如 Amazon Payments、Google Checkout),没有用户同意的条款和条件。
我需要:
A. 在模态窗口中调用 Magento“条款和条件”块(我不知道 + 可能会太侵入性?)
B. 使用 -- fake -- 快速结帐按钮和 fake/not-magento-用户必须同意购物车页面上的本机“条款和条件”,然后才能继续:任何快速结帐。
目标:
用户点击购物车页面上的任何快速结账选项 >
用户遇到弹出窗口,其中包含他们必须同意的“条款和条件”>
直到他们同意(可能通过勾选复选框),真正的快速结帐按钮才会变灰(或类似的东西)>
用户同意,则真正的快速结账按钮激活>
用户点击快速按钮并完成快速结帐。
转到:
http://pro-tools-training.com/new -magento2/index.php/highslide#
我的问题是如何将购物车页面上的真正的快速结帐按钮替换为假的按钮(只是带有某种 onclick 事件的图像),然后如何放置真正的快速结帐按钮弹出窗口中的结账按钮。
--
<罢工> (选项二): 这是我正在考虑的另一个选项。
我创建了一个带有条款表单的静态块,并将一个小部件分配给“PayPal 查看订单页面”,
这样它就会显示出来,但当然它在错误的位置,而且它没有与“下订单”按钮交互。
优点:可以用于贝宝 缺点:目前,对于其他快速结账按钮来说,这不是一个明显的解决方案
所以我的第一篇文章试图事先解决这个问题,而这篇文章试图在最后阶段解决它。
选项2似乎太有限了。我现在正在仔细研究选项一。
...任何反馈都有帮助
更新三:
我确信还有很多其他方法可以做到这一点,但我想出了这个,如果它能帮助那里的任何人。
转到此页面:
http://pro-tools- Training.com/new-magento3/index.php/html5-video.html
添加到购物车 >到购物车>单击 paypal Express 按钮
,看看我为 Express 按钮制作了一个弹出窗口
一般来说,您可以看到带有 firebug 的代码,但它只是(基于 highslide) JavaScript 触发弹出窗口,弹出窗口内容写在shortcut.phtml(对于paypal exress)中,每个快速按钮类型都有自己的类似的.phtml 文件(例如,我使用的googlecheckout link.phtml)。
未决问题:
<罢工>1。在 iPhone(无论如何我的 iPhone)上,弹出窗口启动,但结帐按钮丢失。 已解决:我所需要做的就是调整 js 配置中的宽度和 html 中文本区域的宽度。
- 我想在一步结账页面上制定相同的“条款和条件” - 但不是弹出窗口。我希望它隐藏,除非用户单击 paypal 单选按钮。然后它会出现在页面中并且需要继续。
有什么建议吗?
UPDATED
(Option One):
In magento, at Step 6 of One Page Checkout you see Terms and Conditions.
Now the problem:
Using PayPal Express Checkout (or any express option e.g. Amazon Payments, Google Checkout) there is no Terms and Conditions for the user to agree to.
I need to:
A. Call Magento "Terms and Conditions" block into a modal window (i don't know how + might be too intrusive?)
B. use -- fake -- express checkout buttons and fake/not-magento-native "Terms and Conditions" on Cart Page that user must agree to - before proceeding to: any Express Checkout.
Goal:
User clicks and any express checkout option on cart page >
User encounters popup that has "Terms and Conditions" they must agree to >
Until they agree (probably via ticking a check-box) the real express checkout button is grayed out (or something similar) >
User agrees and then the real express checkout button is active >
User clicks express button and completes express checkout.
go to:
http://pro-tools-training.com/new-magento2/index.php/highslide#
My question is about how to swap the real express checkout buttons on the cart page for fake ones (just images with some sort of onclick event) and then how to place the real express checkout buttons in the popout.
--
(Option Two):
here is another option I am looking at.
i created a static block with a Terms form and assigned a Widget to “PayPal Review Order page”
OK so it shows up but of course its in the wrong place and it does not interact with the Place Order button.
Pros: could work for paypal
Cons: at this point, it’s not an obvious solution for other express checkout buttons
so my fist post tries to address this before hand and this post tries to address it at the last stage.
Option 2 appears too limited. I am now looking closer at option one.
...any feedback helpful
UPDATE THREE:
I'm sure there are many other ways to do this but I came up with this if it will help anyone out there.
go to this page:
http://pro-tools-training.com/new-magento3/index.php/html5-video.html
add to cart > got to cart > click paypal express button
and see i made a popout for express buttons
In general, you can see the code with firebug but it is just (highslide based)
JavaScript firing a popout and the popout contents are written in shortcut.phtml (for paypal exress) and each express button type has its own .phtml file that is similar (e.g. googlecheckout i used link.phtml).
OPEN ISSUES:
1. On iPhone (my iPhone anyway) the popout launches but the checkout buttons are missing. SOLVED: All I needed to do was adjust the width in the js config and the width of the text area in the html.
- I want to make the same "terms and conditions" on onestep checkout page - but not a popout. i want it hidden unless the user clicks the paypal radio button. then it appears - in page - and is required to proceed.
any tips?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这个问题在 Magento 1.11.2.0 中得到了解决:在 PayPal 页面之后,条款和条件显示在订单审核页面上。
I think this problem is solved in the Magento 1.11.2.0: After the PayPal page, the T&Cs are displayed on the order review page.