I changed php version and composer version.But run command “bin/magento setup:upgrade”, display error like this. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '584362' for key 'PRIMARY', query was: ALTER TABLE `catalog_url_rewrite_product_category` ADD CONSTRAINT PRIMARY KEY (`url_rewrite_id`)
Magento
in my case the arrow are showing in each products include photos , i need arrows only appear if number of thumbnail more than 1 , and hidden if only one in fotorama.js This case for more than one and this case for only one photo also appear pre and […]
I am working Magento2.3.4 in live site. I’d like to upgrade Magento2.4.5. so I cloned live site in subdomain. In this case, how can I upgrade Magento? I want to test in subdomain and then put in live site. what is upgrade step?
I have already created app/code/XXX/XXX/view/adminhtml/layout/sales_order_view.xml file. I want to add created custom attribute for GTIN/EAN under the SKU attribute in items ordered list.
We have a 3rd party integration using the /rest/V1/product/[sku] Magento endpoint, but some updates have not been coming through to the admin (single store) – we tracked down that changing the endpoint to /rest/all/V1/product/[sku] fixes the issue (admin reflects updated status), but we do not have access to change the […]
After upgrading from Magento 2.3.4 to 2.4.3-p3, when I ask Magento to send the “Forgot password” email, I get instead of the expected template: Malformed UTF-8 characters, possibly incorrectly encoded. After investigations, I observed that the rp_token retrieved in the method : MagentoCustomerModelCustomerRegistry::retrieveSecureData does not look like what was generated […]
My column definition looks like this: <column name="child_customer_id"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="filter" xsi:type="string">text</item> <item name="label" xsi:type="string" translate="true">Invited Person Registered</item> </item> </argument> </column> My Collection logic looks like this : protected function _initSelect() { parent::_initSelect(); $planName = array('Monthly','Semi-Annual','Annual','Annual with custom design'); $this->getSelect()->join( ['secondTable' => $this->getTable('subscription_invitation')], 'secondTable.parent_customer =main_table.customer_id', […]
I created a google map popup in checkout page. I want to load the google map script url. currently i am doing like this in my google-map-loader.js define([ ... 'https://maps.googleapis.com/maps/api/js?key=MY-API-KEY&libraries=places&z=18' ], function ( ....... google ) { 'use strict'; return Component.extend({ defaults: { template: 'Ayakil_GoogleMapAddressLookup/googlemaplink', }, ---my other codes going […]
Error 524 A timeout occurred when creating a configurable product with variation images. (but products are created when I refresh page.) If there are no images on variations, a timeout error doesn’t happen. (Only happens when I create with images)