Questions tagged [duplicate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

Import Database Error: #1062 Duplicate entry '3-13-70-0' for key

I am attempting to export the Magento database from my current installation to a test installation before I have the test installation go live. Both installations are version 1.9.2.1. I can ...
0 votes
0 answers
33 views

Integrity constraint violation: 1062 Duplicate entry '5300-200-0' for key 'CATALOG_PRODUCT_ENTITY_TEXT_ENTITY_ID_ATTRIBUTE_ID_STORE_ID',

After Upgrade Magento version to 2.4.6-p1 , I am getting error on executing setup:upgrade command : Error : Unable to apply data patch Magento\Catalog\Setup\Patch\Data\...
0 votes
2 answers
130 views

Duplicate content issue with home page and country code version - Magento 2

Problem is, that SEO tools tell us, we have duplicate content with Home Page URL and Home Page URL with country code. www.XYZ.com www.XYZ.com/de/ What is the easiest and most pragmatic solution to ...
3 votes
3 answers
10k views

Getting this errors while importing

Duplicates found in column names: array ( 0 => 'sku', 1 => 'store_view_code', 2 => 'attribute_set_code', 3 => 'product_type', 4 => 'categories', 5 => 'product_websites', 6 => '...
0 votes
1 answer
155 views

Duplicating a product programmatically does not set the attributes in the copy?

Magento 2.4.6 I am trying to duplicate a product using the \Magento\Catalog\Model\Product\Copier class which is also used in Magento\Catalog\Controller\Adminhtml\Product\Duplicate in the execute ...
7 votes
6 answers
8k views

Duplicate entry in DB after upgrading to 2.4.3

I am having this strange issue when trying to upgrade magento 2.4.2p1 to 2.4.3 In bin/magento setup:upgrade I get: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '543741' for ...
0 votes
0 answers
28 views

Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock

I am working on a Magento 2.4.3 store and am cloning a product via the below methodology: $product_clone = $this->object_manager->create(Product::class); $product_clone->load($...
0 votes
1 answer
32 views

Duplicating magento for testing . Where to host?

I have a Magento website running and I need to run some tests on a duplicate magento website. Duplicating website process is fine, however I wanted to know where people duplicate their website? I saw ...
0 votes
1 answer
134 views

Magento 2.3.4 duplicate/clone media gallery images on 'save & duplicate' product, multistore

In the admin panel, when a duplicates a product, the product pictures duplicates themselves several times, for each store exist in db. Example, Have magento with 12 stores Have product A with 1 image ...
3 votes
3 answers
5k views

Magento 2 Duplicate Product URLs Problem

When creating products in Magento 1 the url was created from the product name, and if there were duplicate product names M1 would add a numerical suffix to the end of the URL. Since it seems this is ...
0 votes
1 answer
37 views

To duplicate the notice message below proceed to checkout button

I need to add a notification message below the proceed to checkout button without moving it from the existing place note the notification message should be there in both the existing place and below ...
0 votes
1 answer
1k views

Magento is creating duplicate invoice ids for the orders

When I checkout with paypal Express checkout , it shows error of duplicate invoice id. This is why we can not place order. Please help me.
2 votes
0 answers
231 views

Major problem with duplicate payment authorizations/charges

Magento 2.4.2p-1 Amasty Stripe extension Paypal We used the Magento Migration tool to migrate from Magento 1.9 to 2.4.2 p1. Ever since the beginning, we had various problems including first with ...
1 vote
2 answers
333 views

Maagento 2 : getting error when Import database

I have run this command:- mysql -u magento -p database < database_file.sql I have got the error:- ERROR 1062 (23000) at line 5447: Duplicate entry '7-41-0' for key 'catalog_category_entity_int....
8 votes
4 answers
6k views

Magento 2 reindex gives error Duplicate entry

I am experiencing an issue which not sure why when I try to reindex it gives the error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4458-142-1-1293-4458' for key 'PRIMARY',...
3 votes
2 answers
797 views

Multiple URL Rewrites for the same product is SEO issue?

By default in Magento, while assigning categories to the product. The Magento itself creates a URL rewrites based on each category which all going to be redirected to same product page. Different ...
0 votes
1 answer
534 views

Get Latest Entry For Duplicate Rows In Collection

I currently have a logs table which has the following rows which use the same order_id: log_id order_id user action 2410 1001318004 test1 Declined 2409 1001318004 test1 Declined Inside my app/code/...
11 votes
2 answers
8k views

Magento 2 Duplicate Orders

I'm getting an strange issue in Magento 2.2.7. Some of the orders are duplicating despite us only receiving one payment. It is the exact same order information except for the order number (which ...
1 vote
2 answers
409 views

Magento 2 duplicate product entry in default store view

In my magento2 store I only have one single store assigned to the default view and all the products in were in "all store view". So the store view column in the csv was blank. But somehow someone ...
2 votes
3 answers
3k views

Remove Duplicate product Images in Magento 2

I have created a script file to delete all the duplicate product images. Here is the code I used. <?php error_reporting(E_ALL); use \Magento\Framework\App\Bootstrap; require __DIR__ . '/app/...
2 votes
2 answers
964 views

Duplicate Category Filter Block Causing issue

I have two blocks of the same type on the category page, set in local.xml: <block type="catalog/layer_view" template="catalog/layer/view.phtml"/> When using the category filter an error is ...
2 votes
1 answer
190 views

Magento 2.3 - How to handle multi store same product name duplicates error when edit?

I have migrated Magento from 1.9.2.3 to 2.3.4, if i try to change the product details i am getting error like product name isn't unique. I am using multi-Store so that the same product name available ...
0 votes
1 answer
21 views

Is changing to canonical urls a bad idea if you have an established website with thousands of backlinks?

I have a magento website with thousands of backlinks. I just realized that the categorical structure is negatively affecting my seo. Will switching to canonical break many backlinks? Is it a bad idea? ...
1 vote
1 answer
571 views

Duplicated product not showing on front-end, Magento 2.3.2

I have upgraded my Magento EE store from 2.2.7 to 2.3.2, and the issue I am facing is, after duplicating a product, the duplicated product is not showing on frontend. The urls are generating, product ...
0 votes
0 answers
46 views

Magento2 - Controller creates duplicate categories

I am creating a custom module to get categories and regarding products from API and uploading them to the site. After creating a controller for Categories, in the backend, there are duplicate ...
2 votes
1 answer
1k views

Magento 2.3.4 Could not save product "id" with position 0 to category (id of category)

I have this strange issue with magento 2.3.4. although I have already this patch Magento official patch which claims that it solve this I keep having this issue with duplicate urls in my database. ...
1 vote
0 answers
200 views

Magento 2 create product duplicate Image are Doubled Issues

when saving product with the duplicate in Magento 2 then images are double like, Pics get doubled when duplicating an item, so the duplicated item has two images. If you duplicate that then the new ...
1 vote
0 answers
37 views

500 error on product duplicate

We are facing issues with Product Duplicate. When we are trying to duplicate the product it gives 500 errors. Internal Server Error The server encountered an internal error or misconfiguration and ...
1 vote
1 answer
716 views

Magento1 to Magento2 data migration

I am new to Magento2, I need some guidance from magento geeks for migrating data from magento1 to magento2. Quick Overview I received a system that was built in magento2 from scratch. So I think ...
2 votes
1 answer
1k views

Canonical Duplicate Links

I really don't know a huge amount about duplicate links. I am told that www.example.com/greenshoe and www.example.com/shoes/greenshoe are duplicate pages and need adjusting. I have added the ...
3 votes
1 answer
912 views

"Unique constraint violation found" Error When Assign Product into Category

After Assign Product Into Category Getting Error Unique constraint violation found In exception.log file :- [2019-05-31 17:53:29] main.CRITICAL: Unique constraint violation found {"exception":"[...
0 votes
0 answers
86 views

Duplicate order confirmation

After we upgraded from Magento 2.2.7 to 2.3 we have come across that customers get duplicate confirmation emails. I can see there is some related issues here, but not for Magento 2.3. Anyone that ...
0 votes
1 answer
230 views

Magento 2 SKU and URL Key is not generating unique by default

When I create multiple product with same SKU and same URL Key it is creating, as I know Magento do not allow this. I googled alot but didn't find any configuration for this, Please guide me what is ...
0 votes
1 answer
1k views

Magento 2 - Duplicate Cron jobs in cron_schedule table

I have Magento 2 setup of version 2.2.2. I have set the cronjobs as per guidelines. When I check the cron_schedule table I can see multiple duplicate cronjobs entries. created_at is the same for the ...
1 vote
0 answers
425 views

Magento 2.3 Save and Duplicate Product

I wanted to make a duplicate product. SO i did save and duplicate and a product was created. For product 1,SEO url is gin-glasses-pasabahce-timeless For product 2 , SEO url is gin-glasses-pasabahce-...
1 vote
0 answers
55 views

Unable to create duplicate product in Magento 1.9

I have tried to create a product using the duplicate product in Magento 1.9.3.1. It gives an error as follow
1 vote
2 answers
405 views

Magento 2: Not able to duplicate the product from admin

I am using Magento 2.3.2 and I am trying to duplicate one of existing SKU from admin I clicked on save and edit and I am getting the following issue. The value specified in the URL Key field would ...
0 votes
2 answers
4k views

how to update data in database table

I am sending data to the database by checking duplicate data. But I can't be inserting/updating data in the database. protected function saveEntityFinish(array $entityData, $table) { $...
1 vote
2 answers
5k views

How duplicate your live store on a development store and try installation on it in advance

to update my theme the tutorial said We recommend you to duplicate your live store on a development store and try installation on it in advance. how to do this ? and can i make something allow me to ...
0 votes
1 answer
199 views

Magento2: Issues with duplicate simple product

I have duplicate a simple product. The original simple product has: SKU: pld942 URL: pld942.html after duplicate: SKU: pld942-1 URL: pld942-1.html I set in duplicate product: enable weight qty ...
1 vote
0 answers
63 views

How to allow duplicate admin name values for color attribute in magento 2.3

As per Magento 2.3, it won't allow adding duplicate values for product attributes. For the temporary purpose, I want to allow the duplicate value of Admin, under color attribute. How can I restrict ...
1 vote
1 answer
693 views

Duplicate cron job created

I have a scheduled cron job that is set to run every day at 12:00am. The job runs correctly as per scheduled time, but the same job is again created at 12.01am. So technically the cron is run twice. ...
2 votes
0 answers
59 views

Magento clean install is now doing this during Setup:Static-content:deploy

A fairly new and clean install on a dev platform. Magento 2.3.1 using the latest porto theme. PHP 7.2 Running setup:static-content:deploy seems to be running duplicate versions of each of the themes ...
0 votes
1 answer
291 views

Magento 2 Product duplicate generates unlimitted file

I migrated M1 data to M2. After that on product duplication from admin process continue (loader displaying) and product images start duplication. In 30 GB space filled just after process started.
4 votes
1 answer
3k views

Error Duplicating Product Magento 2.1.2?

After updating my Magento installation from 2.0.x to 2.1.2 I cannot duplicate products. Suppose I try to duplicate a product with SKU number '10', duplication then yields the following error: ...
1 vote
0 answers
52 views

Magento1.9 URL Issue for Duplicate Name Products

I am facing an issue where On my store more than 2 products have the same name things are going fine on a low range of products, As Magento will update URL on saving in the catalog_url_rewrite table ...
0 votes
1 answer
120 views

Duplicate Order Creation in Magento 1.9.1.0

I am getting an issue with Paypal standard for few customers. When payment received there are two orders logged in magento. Both of which go into payment pending status and then subsequently one is ...
1 vote
2 answers
1k views

Magento 2.2.3 - ERROR 1062 (23000) at line 368677: Duplicate entry '0' for key 'PRIMARY'

I used Magento Data Migration Tool to import my database test2_web2.sql from 1.9.2.2 to 2.2.3. Migration is successful with no issues. If I export the database and then try to import it. mysql -p -u ...
1 vote
0 answers
330 views

Duplicate order confirmation mail

Thanks for providing solution. I have apply same solution in one of my site along with I have follow all your steps. But it still send two confirmation mailto both admin and customers. My magento ...
2 votes
3 answers
7k views

How to create duplicate Product programmatically in magento2?

I want to duplicate product using product id programmatically. I have checked it but not found any useful solution for it. Basically, in product details page one button near by "Add to cart" button ...