Shipping method Pick up at store OR download

Help for integrating the Laravel package
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!
rhand
Posts: 23
Joined: 12 Apr 2024, 03:06

Shipping method Pick up at store OR download

Post by rhand » 16 May 2024, 02:18

What if we want customers to either pick up at the store or download the product from the website? How is that done in Aimeos?

Understood you need to add a shipping method and that there are none available . But surely there is one allowing picking up at shop? What about standard shipping options like EMS/ DHL, UPS?

As for downloadable products , I assume that option is available :

> Aimeos has built-in support for downloadable products out of the box. You can
enable this feature by configuring the `downloadable` property in the

`config/aimeos.php` file:

Code: Select all

php
'product' => [
    // ...
    'downloadable' => true,
],
but does that mean you cannot turn on download as an option? And what if we have downloadable and physical products?

P.S. Using Laravel 9 and PHP 8.2

User avatar
aimeos
Administrator
Posts: 8239
Joined: 01 Jan 1970, 00:00

Re: Shipping method Pick up at store OR download

Post by aimeos » 17 May 2024, 17:19

The suggested configuration is wrong and doesn't exist.

You have to create two delivery options, one for pickup and one for download only. Use the "Download" decorator to configure the download delivery option if all products can be downloaded and the pickup option otherwise:
https://aimeos.org/docs/latest/manual/s ... /#download
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

rhand
Posts: 23
Joined: 12 Apr 2024, 03:06

Re: Shipping method Pick up at store OR download

Post by rhand » 18 May 2024, 06:57

Thanks for the feedback
The suggested configuration is wrong and doesn't exist.
I see. Good to know
You have to create two delivery options, one for pickup and one for download only. Use the "Download" decorator to configure the download delivery option if all products can be downloaded and the pickup option otherwise:
https://aimeos.org/docs/latest/manual/s ... /#download
Okay, so if customer wants to have both we need two service decorators. If we only want to use downloads we can use the Downloads decorator.

Post Reply