techquity / aero-product-upsells
There is no license information available for the latest version (6.6-alpha) of this package.
A module to allow admin to add products to cross/up sell against other products
6.6-alpha
2021-09-08 19:52 UTC
Requires
- aerocommerce/admin: ^0|^1
- aerocommerce/core: ^0
- aerocommerce/elastic-search: *
- maatwebsite/excel: ^3.1
Requires (Dev)
- orchestra/testbench: ^4.0
- 6.x-dev
- 6.6-alpha
- 6.5-alpha
- 6.4-alpha
- 6.3-alpha
- 6.2-alpha
- 6.1-alpha
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- 6.0-alpha
- 5.x-dev
- 5.3.1
- 5.3.0
- 5.2.9
- 5.2.8
- 5.2.7
- 5.2.6
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0-beta.10
- 5.0-beta.9
- 5.0-beta.8
- 5.0-beta.7
- 5.0-beta.6
- 5.0-beta.5
- 5.0-beta.4
- 5.0-beta.3
- 5.0-beta.2
- 5.0-beta.1
- 5.0-beta
- 4.2.6
- 4.2.5
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2
- 4.1
- 3.4.1
- 3.3.1
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3
- 2.2.2
- 2.2.1
- 2.2
- 2.1
- 2.0
- 1.0
- dev-master
- dev-fixes/product-delete-error
- dev-fixes/4084095-product-sort-not-working
- dev-beta/polymorphic
- dev-origin/feature/cross-product-currency
- dev-remove-links-when-product-deleted
- dev-driveden-tweaks
- dev-fix-number-of-issues
- dev-greenflag_alterations
This package is auto-updated.
Last update: 2024-11-26 18:53:46 UTC
README
Add to your Aero project using the following composer command:
composer require techquity/aero-product-upsells
Add it your project by running:
php artisan migrate
php artisan vendor:publish --tag=aero-product-upsells
Usage
To access the collection in your Twig files:
{% for upsell in cross_products(product, 'COLLECTION_NAME') %} {% set variant = upsell.variants | first %} //PRODUCT DETAILS HERE {% endfor %}
You can also specify a limit on the number of products {% for upsell in product_upsells(product, 'COLLECTION_NAME', 5) %} ...
Adding collections
- To add a collection, go to Admin > Modules > Cross-sell products
- Select a product you'd like to link other products to
- Click create a collection
- Add a collection
-- This collection can then be used to link products together via the COLLECTION_NAME in the front-end component above
Linking products
- To add a collection, go to Admin > Modules > Cross-sell products
- Select a product you'd like to link other products to
- Select a collection to link within
- Select the products you'd like to link
- Click 'Link products'