ai-customergroups - Price missing
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
ai-customergroups - Price missing
We use your ai-customergroups extension 2022.10.2.
When we add a new product with a price, the mshop_price.cgroups column is NULL (instead of 0) and no price is displayed in the frontend.
When we add a new product with a price, the mshop_price.cgroups column is NULL (instead of 0) and no price is displayed in the frontend.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: ai-customergroups - Price missing
Did you configure the extension according to the ./vendor/aimeoscom/ai-customergroups/README.md file?
Re: ai-customergroups - Price missing
I think so. This is in my template on the root page.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: ai-customergroups - Price missing
A group is never saved for a price item.
Do I make a mistake in the configuration?
Do I make a mistake in the configuration?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: ai-customergroups - Price missing
There was an optimization in the Aimeos core for saving items in all managers only if they or their dependent items have been modified. However, it turned out now that it doesn't work for dependent items of dependent items like
If only the list item for the customer/group item and the price item itself is marked as modified, the product item and the list item for the price is not. Therefore, those items aren't updated because it was expected that saving the product items also updates all dependent items along the dependency graph.
We've reverted the change back now. It's currently available in aimeos/aimeos-core:dev-master and aimeos/aimeos-core:2022.10.x-dev and a new release will be tagged soon.
Code: Select all
product -> list item (price) -> price -> list item (customer/group)
We've reverted the change back now. It's currently available in aimeos/aimeos-core:dev-master and aimeos/aimeos-core:2022.10.x-dev and a new release will be tagged soon.
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: ai-customergroups - Price missing
Thank you very much for the fix!
Can you explain, how I create a prerelease by myself?
I don't use the composer mode.
Can you explain, how I create a prerelease by myself?
I don't use the composer mode.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: ai-customergroups - Price missing
Please try this version:
https://aimeos.org/fileadmin/download/a ... 4-pre2.zip
https://aimeos.org/fileadmin/download/a ... 4-pre2.zip
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: ai-customergroups - Price missing
With this version everything is saved correct i think.
Thank you very much!
Thank you very much!
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: ai-customergroups - Price missing
I have the same trouble again.
Changes on existing price items are recognized and saved correcly (v22.10.4-pre2).
But when I add a new price item it is only showed in the backend.
In the frontend nothing is visible.
Changes on existing price items are recognized and saved correcly (v22.10.4-pre2).
But when I add a new price item it is only showed in the backend.
In the frontend nothing is visible.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: ai-customergroups - Price missing
The same problem when I save an attribute (which has a price item) to a product and want to receive the attribute price in the frontend.
It doesn't work for new saved items and I get an empty array...
Code: Select all
$attr->getRefItems('price', null, 'default')->toArray()
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3