Questions tagged [duplicate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
18 votes
4 answers
3k views

EE 1.14.2 / CE 1.9.2 block caching update has non-unique cache keys - duplicate content showing on frontend

When I upgraded to EE 1.14.2, most things went smoothly but I came across an issue when I started to check my various frontend pages. I have a catalog node with several subcategories and each of those ...
Mike's user avatar
  • 426
12 votes
4 answers
5k views

How to remove a duplicate sku via database?

I get this error when attempting to edit and save a few of my Magento products via admin: "The value of attribute "SKU" must be unique." When I view my products in Magento admin a duplicate sku is ...
Amanda's user avatar
  • 161
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 ...
CJNotts's user avatar
  • 392
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',...
Juliano Vargas's user avatar
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 ...
G. G.'s user avatar
  • 1,132
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: ...
LucSpan's user avatar
  • 143
4 votes
1 answer
229 views

Best way to reduce time for duplicate product

When I 'duplicate' one of my simple product, it takes 8 ~ 11 seconds to complete duplicate process. I create new clean store on my same server, and the new store take less than 2 seconds to complete ...
Yohan's user avatar
  • 1,610
4 votes
1 answer
567 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 ...
mansi's user avatar
  • 411
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 => '...
Sabih's user avatar
  • 31
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 ...
julianm's user avatar
  • 33
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 ...
Rajkumar Vellaiswamy's user avatar
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":"[...
Ronak Rathod's user avatar
  • 6,309
2 votes
2 answers
419 views

Copy role resources to other role programatically

As title says i want copy role resources from one to other. For example: I give one of my role id which is dynamically and then i get all resouces for that role id and assign that resources to other ...
Mathew's user avatar
  • 783
2 votes
1 answer
2k views

Duplicate configurable products in Magento programmatically

I want to duplicate configurable Products with their associated products programmatically in Magento. Can anyone help regarding this.
user avatar
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. ...
G. G.'s user avatar
  • 1,132
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 ...
nil108's user avatar
  • 133
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 ...
user3217495's user avatar
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 ...
user2565123's user avatar
2 votes
1 answer
239 views

Magento Search Not Working with One Word [closed]

Wondering if someone could help with this... TL;DR: Is it possible to duplicate a searched query in Magento php files without the user knowing. E.g. Searching 'Adidas' actually searches 'Adidas ...
James Lane's user avatar
2 votes
1 answer
191 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 ...
zus's user avatar
  • 155
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/...
Jafar Pinjar's user avatar
  • 1,929
2 votes
1 answer
177 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?
Mounika's user avatar
  • 213
2 votes
1 answer
337 views

Duplicate Content in WMT even with rel canonical

I am desperate to find a solution for this problem. I've read most of the posts here and on almost all related forums/sites on Magento Duplicates. I just cant find a solution for my problem. We have ...
Julio Cesar Torres's user avatar
2 votes
2 answers
4k views

Magento2 - Save & Duplicate is not work

When I click 'Save & Duplicate' button, 'Please wait...' show up and it can't finish. Just show 'Please wait...' endless What should I check? No 3rd party module, Fresh installed Magento2 with ...
Yohan's user avatar
  • 1,610
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 ...
Allysin's user avatar
  • 250
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 ...
Lexifir's user avatar
  • 21
2 votes
1 answer
576 views

Upgrade to 1.9.2.1 caused duplicate transactions in Google Analytics

After digging through and analyzing the data being sent from Magento to Google Analytics (GA), it seems that after the 1.9.2.1 update was applied to the site, Magento began sending successful ...
Alex's user avatar
  • 21
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 ...
Irfan Ahmed's user avatar
1 vote
1 answer
1k views

Duplicated products/pages on a category

http://www.pretaplay.co.uk/special-offers.html?p=5 Hi all, the above link is the beginning of the pages with the issue. Page 5 on this link is duplicated an extra 5 times. Eg page, 6,7,8,9 and 10 ...
A. Lal's user avatar
  • 121
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 ...
Stuart's user avatar
  • 97
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 ...
Fathey Mohamed's user avatar
1 vote
1 answer
4k views

Duplicated the Search form , but works properly only on one

I'm using Magento 2, and what I'm trying to do is to duplicate the search form, one for the desktop version and one for mobile, hiding one and another on different versions. The problem is that on ...
alexcr's user avatar
  • 1,477
1 vote
1 answer
168 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 ...
chdzma's user avatar
  • 952
1 vote
1 answer
720 views

Override Attribute Value on Duplicated Product

We're using the catalog_model_product_duplicate to override some of the attribute values upon duplicating a product. However, this only works on the global value: $newProduct = $observer->getEvent(...
user1240207's user avatar
  • 1,339
1 vote
1 answer
253 views

Magento: using duplicate product button, but emptying Url Key

Magento: using duplicate product button, but emptying Url Key We are using the duplicate product button. SKU is cleared, but the Url Key is still there. Sometimes we save the product ... and oops! a ...
snh_nl's user avatar
  • 5,422
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....
user104747's user avatar
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 ...
Pradeep Sanku's user avatar
1 vote
2 answers
675 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 ...
JItendra Rana's user avatar
1 vote
1 answer
227 views

Find customers with same name and other details but different email

I have few accounts with same details except different email. Is there any way to figure out their details ? like selecting emails which have same first name & last name using an SQL query ?
Jithesh Kt's user avatar
1 vote
1 answer
1k views

How to restore an order status value that has been previously deleted in Magento Admin Interface?

I accidentally deleted an order Status which I need to recover but I don't know how. The following image below shows the statuses before I deleted one. The second image below shows the statues as ...
Nathan Smith's user avatar
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 ...
MOHIT GOHEL's user avatar
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 ...
Divyarajsinh Dodiya's user avatar
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 ...
ishu's user avatar
  • 125
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-...
Nafsss's user avatar
  • 760
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
Divyarajsinh Dodiya's user avatar
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 ...
Arsalan Ul Haq's user avatar
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 ...
1990rk4's user avatar
  • 593
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 ...
Yogita's user avatar
  • 784
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 ...
Sheba's user avatar
  • 11
1 vote
0 answers
634 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 =...
Morgan Tartreau's user avatar