php 如何禁用 opencart 中的某些结帐步骤?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8744676/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 05:24:14  来源:igfitidea点击:

How to disable some checkout steps in opencart?

phpajaxopencart

提问by Cris

I need Billing Details, Delivery & Payment Method on the checkout page to be disabled because I don't need them. How can I do this or is there a module that can disable these?

我需要禁用结帐页面上的帐单详细信息、交付和付款方式,因为我不需要它们。我该怎么做,或者是否有可以禁用这些的模块?

采纳答案by Francis Lewis

Look in the store/admin under the "Extensions" menu and set everything in there the way you want it. I know from experience that it will skip steps such as shipping if you don't have any defined, so that should be what you're after.

在“扩展”菜单下查看商店/管理员,并按照您想要的方式设置其中的所有内容。我从经验中知道,如果您没有任何定义,它将跳过诸如运输之类的步骤,因此这应该是您所追求的。

回答by Jay Gilford

As far as I know there's nothing made already that could do this, and its really not something you're going to be able to do easily. A lot of the functionality uses address details. It's also part of the order insert details, and part of the order table, so it's going to be very hard to remove without breaking things

据我所知,已经没有任何东西可以做到这一点,而且这真的不是你能够轻松做到的。许多功能使用地址详细信息。它也是订单插入详细信息的一部分,也是订单表的一部分,因此很难在不破坏东西的情况下将其删除