Custom cart behaviour and reseller accounts
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Custom cart behaviour and reseller accounts
I have some questions regarding the way to do some tasks using Aimeos.
I have created a list of products without including the prices, I want the customer to be able to add these products to the cart and when the customer is ready for checkout, I want him to be able to click on a button on the cart that will send the cart to the supplier by email so he can specify the right prices and shipping cost for the products, and on submission the cart will be emailed back to the customer so that he can continue the checkout process.
Questions : I know that the behaviour of Aimeos won't allow you to add products without prices to a cart and I know that the behaviour of emailing the cart back-and-forth must be custom made, my question is, when setting the product prices on the supplier's side :
My reasoning is to create a new temporary product named X and set the status to "archived" or "disabled" so that it doesn't appear on the frontend and link the price 12 USD to it and add it to a custom cart that will be sent to the customer, and after the checkout process I delete the temporary product or is there a better way to do this ?
My other question is regarding multi-type accounts and bulk discounts, I want to have 2 account types "customer" and "reseller", and for the "reseller" type I want to create discounts that would only be applied if the user is a "reseller" and if he is buying in bulk. do I have to create vouchers and check the logged-in user's type and the products quantity on the cart and apply the voucher automatically or is there a better way of doing this using in Aimeos.
I have created a list of products without including the prices, I want the customer to be able to add these products to the cart and when the customer is ready for checkout, I want him to be able to click on a button on the cart that will send the cart to the supplier by email so he can specify the right prices and shipping cost for the products, and on submission the cart will be emailed back to the customer so that he can continue the checkout process.
Questions : I know that the behaviour of Aimeos won't allow you to add products without prices to a cart and I know that the behaviour of emailing the cart back-and-forth must be custom made, my question is, when setting the product prices on the supplier's side :
- Is there a way that these prices would be only applied to the cart ?
- How can I add a commission rate when adding a supplier from the admin panel and how can I apply the commission rate on the cart ?
My reasoning is to create a new temporary product named X and set the status to "archived" or "disabled" so that it doesn't appear on the frontend and link the price 12 USD to it and add it to a custom cart that will be sent to the customer, and after the checkout process I delete the temporary product or is there a better way to do this ?
My other question is regarding multi-type accounts and bulk discounts, I want to have 2 account types "customer" and "reseller", and for the "reseller" type I want to create discounts that would only be applied if the user is a "reseller" and if he is buying in bulk. do I have to create vouchers and check the logged-in user's type and the products quantity on the cart and apply the voucher automatically or is there a better way of doing this using in Aimeos.
Re: Custom cart behaviour and reseller accounts
Please have a look here as it is the same question: help-f15/having-the-supplier-to-enter-t ... html#p5027techgeekh wrote: I have created a list of products without including the prices, I want the customer to be able to add these products to the cart and when the customer is ready for checkout, I want him to be able to click on a button on the cart that will send the cart to the supplier by email so he can specify the right prices and shipping cost for the products, and on submission the cart will be emailed back to the customer so that he can continue the checkout process.
You could change that by overwriting this method in the basket frontend controller:techgeekh wrote: Questions : I know that the behaviour of Aimeos won't allow you to add products without prices to a cart
https://github.com/aimeos/ai-controller ... se.php#L34
If it should be done automatically, creating a basket plugin that changes the prices of the products in the basket depending on the customer group and discount would be the better option:techgeekh wrote: My other question is regarding multi-type accounts and bulk discounts, I want to have 2 account types "customer" and "reseller", and for the "reseller" type I want to create discounts that would only be applied if the user is a "reseller" and if he is buying in bulk. do I have to create vouchers and check the logged-in user's type and the products quantity on the cart and apply the voucher automatically or is there a better way of doing this using in Aimeos.
https://aimeos.org/docs/Developers/Libr ... et_plugins
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Custom cart behaviour and reseller accounts
Thank you so much Admin , you are really appreciated with your help ..
I was wondering
Is it possible to set discounts for seasons automated
Like black friday coming up system could send out emails saying 20% off this friday etc and that day or range of dates could be discounted?
Another question
It could be for certain group of products discount would be 60% on the same day , is this one possible ?
And last for today
Gift card feature , how to offer this ?
Thank you so much
I was wondering
Is it possible to set discounts for seasons automated
Like black friday coming up system could send out emails saying 20% off this friday etc and that day or range of dates could be discounted?
Another question
It could be for certain group of products discount would be 60% on the same day , is this one possible ?
And last for today
Gift card feature , how to offer this ?
Thank you so much
Re: Custom cart behaviour and reseller accounts
Yes, Aimeos has start and end dates for prices added to products but currently this can be only done in the expert mode admin interface (drag&drop a price in the product price tab to the left and double click on the added item, there you can set start and stop dates for prices). This also works for attributes, texts, images, etc.cypriotxx wrote: Is it possible to set discounts for seasons automated
Like black friday coming up system could send out emails saying 20% off this friday etc and that day or range of dates could be discounted?
Is not available by default but can be implemented as basket plugin too: https://aimeos.org/docs/Developers/Libr ... et_pluginscypriotxx wrote:It could be for certain group of products discount would be 60% on the same day , is this one possible ?
You could extend the existing payment related e-mail and add the generated gift card as attachment:cypriotxx wrote:Gift card feature , how to offer this ?
https://aimeos.org/docs/Configuration/C ... ment_email
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Custom cart behaviour and reseller accounts
Thank you so much ,
How about the import duty charge ,
How do we auto calculate and show on basket ?
I found this but i would like to know your idea how to go about this please ?
https://github.com/matthewrevell/stampdutycalculator
And minimum order limit like , minimum order is 30usd over all the site ... how do we set this .
Thank you
How about the import duty charge ,
How do we auto calculate and show on basket ?
I found this but i would like to know your idea how to go about this please ?
https://github.com/matthewrevell/stampdutycalculator
And minimum order limit like , minimum order is 30usd over all the site ... how do we set this .
Thank you
Re: Custom cart behaviour and reseller accounts
You can implement the calcPrice() method in a service decorator. It has access to the products and addresses in the basket and can ask a remote API for duty charges. These charges are then added to the delivery costs.cypriotxx wrote: How about the import duty charge , How do we auto calculate and show on basket ?
Use the BasketLimits baket plugin: https://aimeos.org/docs/User_Manual/Adm ... sketLimitscypriotxx wrote: And minimum order limit like , minimum order is 30usd over all the site ... how do we set this .
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
