shipping costs depending on basket weight
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
shipping costs depending on basket weight
I have various delivery services with different weight configurations (Manual,Weight).
PostPacEconomy_2kg ( weight.min = 0.1 ,weight.max = 2 )
PostPacEconomy_5kg ( weight.min = 2.1 ,weight.max = 5 )
PostPacEconomy_10kg ( weight.min = 5.1 ,weight.max = 10 )
So the shipping costs depends on basket weight. In Aimeos 17.4.1 i had no problem when I changed the amount of an article in the basket. But after an update to 17.7.0 the shipping cost are no longer updated immediately on change only if i add a new article to the basket.
Should i do this differently now?
Regards Patrik
7.6.10, Aimeos 17.7.0 / PHP 5.6.30-0+deb8u1
PostPacEconomy_2kg ( weight.min = 0.1 ,weight.max = 2 )
PostPacEconomy_5kg ( weight.min = 2.1 ,weight.max = 5 )
PostPacEconomy_10kg ( weight.min = 5.1 ,weight.max = 10 )
So the shipping costs depends on basket weight. In Aimeos 17.4.1 i had no problem when I changed the amount of an article in the basket. But after an update to 17.7.0 the shipping cost are no longer updated immediately on change only if i add a new article to the basket.
Should i do this differently now?
Regards Patrik
7.6.10, Aimeos 17.7.0 / PHP 5.6.30-0+deb8u1
Re: shipping costs depending on basket weight
Seems like the same issue as here:
help-f15/shipping-costs-disappear-from- ... t1058.html
Can you exchange the positions of the Autofill and ServicesUpdate basket plug-ins? (ServicesUpdate: 0, Autofill: 1)
help-f15/shipping-costs-disappear-from- ... t1058.html
Can you exchange the positions of the Autofill and ServicesUpdate basket plug-ins? (ServicesUpdate: 0, Autofill: 1)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: shipping costs depending on basket weight
I have exchanged the the positions but the problem still exists.
Re: shipping costs depending on basket weight
Can you post a screenshot of your plugin list and their configuration?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: shipping costs depending on basket weight
Here I have the service configuration:
and here is the plugin configuration:
and here is the plugin configuration:
Re: shipping costs depending on basket weight
The problem seems that editing products was done before by deleting and re-adding the product with the changed quantity in the basket. Now there's a specialized "editProducts()" method in the basket for this which sends its own new signal.
Can you please add this line
here for a quick test an see if it then works:
https://github.com/aimeos/aimeos-core/b ... te.php#L43
Can you please add this line
Code: Select all
$p->addListener( $this->getObject(), 'editProduct.after' );
https://github.com/aimeos/aimeos-core/b ... te.php#L43
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: shipping costs depending on basket weight
I've added the line, but still the same problem
here's the code:
here's the code:
Re: shipping costs depending on basket weight
Can you add it there as well:
https://github.com/aimeos/aimeos-core/b ... l.php#L156
https://github.com/aimeos/aimeos-core/b ... l.php#L156
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: shipping costs depending on basket weight
It worked now!
I've added the 'editproduct.after()' function and maybe the cache didn't get the change.
thank you very much
I've added the 'editproduct.after()' function and maybe the cache didn't get the change.
thank you very much
Re: shipping costs depending on basket weight
Does only the ServicesUpdate plugin or also the Autofill plugin need to register for this event?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star