creditkey / b2bgateway
Credit Key与支付网关集成
Requires
- composer/installers: *
- creditkey/creditkey-php: >=1.0.3
- magento/framework: >=101.0.0
- magento/magento-composer-installer: *
- magento/module-checkout: >=100.2.0
- magento/module-payment: >=100.2.0
- magento/module-sales: >=101.0.0
- dev-master
- 1.0.65
- 1.0.64
- 1.0.63
- 1.0.62
- 1.0.61
- 1.0.60
- 1.0.59
- 1.0.58
- 1.0.56
- 1.0.55
- 1.0.54
- 1.0.52
- 1.0.51
- 1.0.50
- 1.0.49
- 1.0.48
- 1.0.47
- 1.0.46
- 1.0.45
- 1.0.44
- 1.0.43
- 1.0.42
- 1.0.41
- 1.0.40
- 1.0.39
- 1.0.38
- 1.0.37
- 1.0.36
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.15
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.2
- 1.0.1
- 1.0.0
- 0.9.1
- 0.9.0
- dev-CU-86b1cdv8v-php-compatibility-fix
- dev-CU-86b1gdp5m-restrict-payment
- dev-fix/customer-session
- dev-fix/logger
- dev-update/country-selector
- dev-patch/Meetanshi_AutoInvShip
- dev-fix/braintree
- dev-feature/auto_ship
- dev-feature/modal_experience
- dev-patch/aheadworks_onestepcheckout
- dev-aheadworkds-updated
- dev-fix/order_status
- dev-feature/admin_checkout
- dev-bump-module-version-1.0.58
- dev-feature/minimum_price
- dev-bump-module-version-for-auth-and-capture
- dev-feature/auto_invoice
- dev-update-creditkey-js-version-in-admin
- dev-feature/load-sdk-scripts-from-cdn
- dev-feature/cdn_js
- dev-fix/marketplace
- dev-test/redirect
- dev-test/auth
- dev-feature/checkout-css-new-standard
- dev-fix/modal-css2
- dev-fix/modal-css
- dev-fix/redirects
- dev-test/apply
This package is auto-updated.
Last update: 2024-09-20 15:06:26 UTC
README
安装
从您的根Magento目录,运行以下命令
% composer require creditkey/b2bgateway
然后使用以下命令启用模块
% php bin/magento module:enable CreditKey_B2BGateway
% php bin/magento setup:upgrade
配置
从Magento管理员界面,导航到 商店 > 配置 > 销售 > 支付方式,然后滚动到 Credit Key (网关) 部分。
在 产品页面上的营销内容 部分允许您启用在所选产品详情页上显示Credit Key营销内容的功能。您可以在全局启用/禁用此功能,选择特定类别以允许内容在属于这些类别的产品上显示,并选择显示内容的样式。
支付操作可以设置为 授权 或 授权并捕获。 授权并捕获将在创建订单时创建发票。授权在创建订单时不会创建发票。
定制
要将产品详情页上的营销显示位置移动,您需要修改活动主题中的文件 catalog_product_view.xml。这通常位于 {magento_root}/app/design/frontend/{YourCompany}/{theme-name}/Magento_Catalog/layout/catalog_product_view.xml。
在此文件中,您只需使用 <move> 元素将我们的块,命名为 product.info.creditkey.marketing,移动到新位置。例如,如果您想将其放在“添加到购物车”按钮下方,它将如下所示,其中 element 是我们块的名称,destination 是您要将其移动到的容器的名称,after 是它将要放置其后的块或容器的名称。这也可以是 before,如果您想将其放在特定块/容器之前。
<?xml version="1.0"?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="product.info.creditkey.marketing"
destination="product.info.form.content"
after="product.info.addtocart"/>
</body>
</page>
要查看可用的容器,您可以使用参考Magento的初级 catalog_product_view.xml 文件,位于 vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml。