myparcelnl / prestashop

PrestaShop module to integrate with MyParcel NL and BE
https://developer.myparcel.nl/nl/documentatie/11.prestashop.html
10 stars 5 forks source link

[BETA]: Allow carriers to be configured per shop #249

Open mariuszsienkiewicz opened 4 months ago

mariuszsienkiewicz commented 4 months ago

Version check

PrestaShop version

8.1.5

PHP version

8.1.28

What went wrong?

Not exactly an issue, but something that bothers me is the way carriers are handled now.

In the previous version (the stable one for PS1.7) of the module, it was possible to create infinite carriers in PrestaShop and then map the newly created carriers in the MyParcel module to configure them properly. Now, the module does this independently (it creates a PrestaShop carrier and MyParcel configuration for this carrier).

So what's the problem? If I'm not mistaken, this way of handling carriers makes it less compatible with the multistore feature that PrestaShop has. Let's see why it's worse now:

In the previous version: I could have, for example, a PostNL carrier in one shop that could be chosen by customers only in Germany and the Netherlands. In another shop, I could have a PostNL carrier that delivers to Germany only, and I could set a different delivery price for each shop.

In the beta version: Carriers are being created by the MyParcel module, which can't be configured per shop. Additionally, if I understand correctly, I can't create a new carrier for another shop because I can't map it in the MyParcel NL module configuration.

This feature is mandatory for one of my clients.

Could you please provide information on whether this feature is on the list of things that need to be implemented? Or maybe I'm missing something in the configuration, or I don't understand how this should be configured in the new version.

Reproduction steps

.

Relevant log output

No response

Additional context

No response