文件名称:航空产品追加销售
文件大小:84KB
文件格式:ZIP
更新时间:2024-03-08 03:14:39
PHP
安装 使用以下composer命令将其添加到Aero项目中: composer require techquity/aero-product-upsells 通过运行以下命令将其添加到您的项目中: php artisan migrate php artisan vendor:publish --tag=aero-product-upsells 用法 要访问Twig文件中的集合: {% for upsell in cross_products( product , ' COLLECTION_NAME ' ) %} {% set variant = upsell . variants | first %} //PRODUCT DETAILS HERE {% endfor %} 您还可以指定产品数量的限制{在product_upsells(prod
【文件预览】:
aero-product-upsells-master
----.gitignore(59B)
----src()
--------Providers()
--------Http()
--------Console()
--------Observers()
--------Models()
----resources()
--------js()
--------views()
--------css()
----composer.json(1KB)
----README.md(1KB)
----phpunit.xml(1KB)
----tests()
--------TestCase.php(389B)
--------Unit()
--------Feature()
----config()
--------config.php(46B)
----database()
--------migrations()
----routes()
--------admin.php(2KB)
--------store.php(0B)
----.gitattributes(66B)