Questions tagged [duplicate]
The duplicate tag has no usage guidance.
92
questions
0
votes
0
answers
31
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
109
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 ...
0
votes
1
answer
127
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 ...
0
votes
0
answers
25
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
29
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
99
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 ...
0
votes
1
answer
32
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
0
answers
22
views
How to clear Price field in duplicate product in Magento 2
Please help me solve the task. I use Magento 2.4.1 You need to make sure that when creating a product using duplication, its price field is cleared or empty by default. I would appreciate any help!
1
vote
0
answers
215
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
316
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....
0
votes
1
answer
483
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/...
3
votes
2
answers
709
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 ...
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 ...
2
votes
1
answer
178
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? ...
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 ...
1
vote
0
answers
192
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 ...
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.
...
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/...
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 ...
1
vote
2
answers
406
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 ...
0
votes
1
answer
218
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
381
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
54
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
397
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 ...
1
vote
1
answer
569
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
1
answer
195
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 ...
3
votes
1
answer
846
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":"[...
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 ...
2
votes
0
answers
57
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
285
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.
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) {
$...
11
votes
2
answers
7k
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 ...
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 ...
1
vote
0
answers
49
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
114
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
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 ...
1
vote
1
answer
714
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 ...
1
vote
0
answers
630
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 =...
1
vote
1
answer
165
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 ...
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 ...
2
votes
1
answer
169
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?
8
votes
4
answers
5k
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',...
0
votes
0
answers
626
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 ...
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 ...
0
votes
1
answer
77
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/ ...
1
vote
1
answer
687
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. ...
0
votes
1
answer
402
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/...