Questions tagged [duplicate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
31 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....
user avatar
0 votes
0 answers
48 views

Duplicate content on pagination, even with canonical links

I have duplicate content shown on my SEO tool for example link: https://www.page.com/de/category/subcategory/page.html Here are the canon tags that are in the <head></head> tag for all of ...
user avatar
  • 1
0 votes
1 answer
52 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/...
user avatar
  • 136
3 votes
2 answers
207 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 ...
user avatar
4 votes
5 answers
3k 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 ...
user avatar
  • 912
2 votes
1 answer
71 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 ...
user avatar
  • 95
0 votes
1 answer
19 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? ...
user avatar
0 votes
0 answers
24 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 ...
user avatar
  • 121
1 vote
0 answers
92 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 ...
user avatar
1 vote
0 answers
35 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 ...
user avatar
2 votes
1 answer
935 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. ...
user avatar
  • 912
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/...
user avatar
  • 1,739
0 votes
0 answers
67 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 ...
user avatar
1 vote
2 answers
264 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 ...
user avatar
  • 115
0 votes
1 answer
129 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 ...
user avatar
  • 934
0 votes
1 answer
776 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 ...
user avatar
  • 1,830
1 vote
0 answers
171 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-...
user avatar
  • 700
1 vote
0 answers
22 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
user avatar
1 vote
2 answers
254 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 ...
user avatar
1 vote
1 answer
476 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 ...
user avatar
0 votes
1 answer
123 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 ...
user avatar
  • 2,076
3 votes
1 answer
605 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":"[...
user avatar
  • 5,596
1 vote
0 answers
44 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 ...
user avatar
  • 553
1 vote
0 answers
45 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 ...
user avatar
  • 11
0 votes
1 answer
143 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.
user avatar
0 votes
2 answers
3k 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) { $...
user avatar
11 votes
3 answers
6k 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 ...
user avatar
  • 350
3 votes
2 answers
4k 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 ...
user avatar
  • 33
1 vote
0 answers
41 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 ...
user avatar
  • 749
0 votes
1 answer
100 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 ...
user avatar
1 vote
0 answers
306 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 ...
user avatar
  • 11
1 vote
1 answer
680 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 ...
user avatar
1 vote
0 answers
454 views

Duplicate quote on reload last quote

Recently, I needed to create an order programmaticaly. Here's my code : public function createMageOrder($orderData) { $store=$this->_storeManager->getStore(); $websiteId =...
user avatar
1 vote
1 answer
97 views

Magento2: Duplicate 2 tables in an overwritten method

I'm overwriting a method to change the configuration of the table, the problem is that this column doubles it, magento adds the column of the overwritten file and the original file, if I delete the ...
user avatar
  • 943
0 votes
0 answers
118 views

emptying Url Key when duplicating product

I'm looking for a way to completely empty out the Url Key when a product is duplicated. i've already tried: $newProduct->setUrlKey(NULL); in a rewrite of Mage_Catalog_Model_Product. but this ...
user avatar
  • 23
2 votes
1 answer
120 views

Stop duplicating SEO meta tags while product duplicating

How to stop duplicating only SEO Meta tags when duplicating product in Magento 2. Can someone guide me how to get it?
user avatar
  • 193
7 votes
4 answers
4k 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',...
user avatar
0 votes
0 answers
572 views

Product "Save and Duplicate" error

I would like to duplicate the products via Magento admin panel. When I tried to duplicate the product, I'm getting the following error: "The value specified in the URL Key field would generate a URL ...
user avatar
  • 1,124
0 votes
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 ...
user avatar
  • 87
0 votes
1 answer
71 views

Duplicated theme not displaying correctly?

I'm trying to duplicate a Magento theme from one Magento install to a fresh install on another server however the theme appears to load the default luma theme. I have removed /pub/static/frontend/ ...
user avatar
  • 757
1 vote
1 answer
651 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. ...
user avatar
  • 179
0 votes
1 answer
369 views

Best practice for fixing multiple URL's for same product issue in Magento1?

This Magento1 website has 5 different URL's for each product that are indexing in Google. Examples below: www.url.com/category1/product-name.html www.url.com/brands/product-name.html www.url.com/...
user avatar
  • 1,013
4 votes
1 answer
444 views

How to avoid duplicate code error while upload extension on Magento marketplace

I have developed a module which extends customer registration feature. In this module, I have overridden two controllers 1. \Magento\Customer\Controller\Account\EditPost I have added custom method ...
user avatar
  • 411
0 votes
0 answers
119 views

Changing Status of Review creates duplicate in "review_detail" table

I've deleted my previous question and narrowed down the true issue causing this problem. For some reason, the review_detail table is creating duplicates whenever a review has it's status changed. ...
user avatar
  • 798
2 votes
3 answers
5k 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 ...
user avatar
  • 123
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 ...
user avatar
0 votes
0 answers
125 views

Payment method custom module

How to duplicate config.xml file for payment methods custom module in magento1.9.
user avatar
1 vote
2 answers
625 views

Magento 2 : Error while adding product programatically On Observer Event `catalog_product_save_after`

I am trying to add product programmatically on catalog_product_save_after observer. Basically what i try to achieve is create a Duplicate Sample product of current product if PRODUCT-SKU-sample does ...
user avatar
0 votes
1 answer
77 views

Magento2: Duplicated stores - base_url problem

We have store Store A installed in public_html/magento2 (available under live.storeAAA.com) We duplicated public_html/magento2 -> public_html/magento_copy So we ended up with 2 folders with exactly ...
user avatar
2 votes
2 answers
9k 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 => '...
user avatar
  • 21