V20.4.1 update problem
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!
Re: V20.4.1 update problem
Can you please check if column 306 till 329 match the columns in the CSV file (count starts with 0), that "Product1" to "Product12" are product codes like "AG899675" and "Product1" to "Product12" are imported before "AG899675"?Metalics wrote: ↑26 May 2020, 10:24 AG899675, "1", "default", "HPLC Column", "", --------, "Product1", "suggestion", "Product2", "suggestion", "Product3", "suggestion", "Product4", "suggestion", "Product5", "suggestion", "Product6", "suggestion", "Product7", "bought-together", "Product8", "bought-together", "Product9", "bought-together", "Product10", "bought-together", "Product11", "bought-together", "Product12", "bought-together"
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: V20.4.1 update problem
Yes, i am sure all about these. With same CSV file, i test for "suggestion" and "bought-together" separately. It is working for "suggestion", but not wotking for "bought-together".
Besides, i get another error comes with V20.4.x after CSV product import :
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Argument 1 passed to Aimeos\MShop\Product\Item\Standard::setStatus() must be of the type integer, string given, called in /...../typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mshoplib/src/MShop/Product/Item/Standard.php on line 447 | TypeError thrown in file /...../typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mshoplib/src/MShop/Product/Item/Standard.php in line 150. Requested URL: https://www.mydomain.com/typo3/index.ph ... ecute][]=1
Re: V20.4.1 update problem
"bought-together" relations are usually generated by the Aimeos job controller automatically based on the orders. Thus, this product list type isn't updated by default. You can change this configuration to import that type too:
https://aimeos.org/docs/Configuration/C ... /listtypes
Use:
https://aimeos.org/docs/Configuration/C ... /listtypes
Use:
Code: Select all
['default', 'suggestion', 'bought-together']
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: V20.4.1 update problem
That's the point we could not reproduce because there's already a protection against multiple count links in the code:Metalics wrote: ↑26 May 2020, 10:59Previously, catalog-filter was a single component so that the code in "header-standard.php" was adding only one count script in header.
Now we have catalog-tree, catalog-attribute and catalog-supplier as separated components, so in header we are having count script for each.
1.) https://github.com/aimeos/ai-client-htm ... rd.php#L25
2.) https://github.com/aimeos/ai-client-htm ... #L234-L236
3.) https://github.com/aimeos/ai-client-htm ... d.php#L586
The single catalog/attribute, catalog/supplier and catalog/tree components inherit from the catalog/filter component so they all share the same static variable for protection.
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: V20.4.1 update problem
Here's a new pre-release which should fix the problems you've mentioned (besides duplicate counts):
https://aimeos.org/fileadmin/download/a ... 3-pre4.zip
https://aimeos.org/fileadmin/download/a ... 3-pre4.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: V20.4.1 update problem
Thank you, all is working.aimeos wrote: ↑27 May 2020, 16:45 Here's a new pre-release which should fix the problems you've mentioned (besides duplicate counts):
https://aimeos.org/fileadmin/download/a ... 3-pre4.zip
@duplicate counts:
I think the duplication is related to cache. When opening the page including catalog-tree, catalog-attribute and catalog-supplier components first time, we have just one count script in header as expected. But if you refresh the page, it adds one more. Refreshing one more time is adding one more. If you clear frontend cache in Typo3 backend, you again have only one... so on...
Re: V20.4.1 update problem
We are not able to reproduce that behavior with duplicate counts in a default installation. When you reload or click on a link (incl. category or attribute filter) the page reloads and the counts vanish until the Javascript in the catalog/count component does add them again.
If you have a look into the network tab of the browser console (right click on a text in the page and select "Inspect element"), do you see more than one request for an URL that includes "counts?..." ?
If you have a look into the network tab of the browser console (right click on a text in the page and select "Inspect element"), do you see more than one request for an URL that includes "counts?..." ?
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