All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
5 views

Unique constraint violation found when submitting an order

Has anybody came across, after update to Magento 2.3 a "Unique constraint violation found" error when generating a shipment? I could only find answers with same error regarding categories or products. ...
-1
votes
1answer
13 views

magento 1 how can get images URL by images name

How can I get an image URL from the image name? Please provide me steps and also let me where need to keep code(folder or file location) to get URL.
1
vote
2answers
16 views

when i add new blog error occurs in magento 2

It displays below error when I add a new blog. I don't understand why it displays error. Previously add blog is working fine. There has been an error processing your request The file was not ...
0
votes
0answers
4 views

Magento 2.3.2 Helper function getItemCollection not working

I added add to compare button in catalog category listing page and it seems working fine when I add a product in compare list. when I navigate to compare products list page it shows all products that ...
0
votes
0answers
5 views

Magento 2.3 Configurable Assiged Simple Product 404

I'm using magento 2.3 version. I have configurable products an normal products. both are works fine but the simple products assigned to configurable products getting 404 errors. The configurable ...
0
votes
1answer
15 views

can't edit product in magento 2. redirect to 504 connection error

In magneto 2, after editing product its shows please wait loader and redirect to 504 connection timeout error.
0
votes
2answers
19 views

Magento 2 : How to get DefaultBillingAddress using knockout?

In core using KO address is get like this in details.html file <!-- ko text: currentBillingAddress().prefix --><!-- /ko --> <!-- ko text: currentBillingAddress().firstname -->&...
0
votes
0answers
18 views

how to keep the position same after back on listing page in magento 2?

If you go down in the product listing and then click a product and click the browser’s back, it jumps to the top of the product listing, instead of remembering the position. See pictures below.
0
votes
0answers
12 views

is it possible put comment for pages in magento 1.8

I wanna put comment(review form) for pages(catalog->pages) in magento 1.8 , is it possible ? thanks
0
votes
0answers
8 views

Magento Auction, Bid button not working

I have install Magento Auction extension develop by magesale in magento 1. but button Bid in front end not working. when I Inspect Element I got error in console: in firefox XML Parsing Error: no ...
0
votes
0answers
17 views

Best place for code that will be reused in module

I have searched high and low and can't really find a good answer on this. I would like to create a class that contains a method/function that I can easily reuse in controllers, blocks and etc instead ...
1
vote
1answer
14 views

Magento 2.3.X Custom Module JavaScript won't load with require.js

I am building a module, and the HTML loads fine, but the JS isn't. Here is what I have: Vendor Name: NewShop Module Name: HelloWorld File: app/code/NewShop/HelloWorld/view/frontend/requirejs-config....
0
votes
1answer
20 views

URL key for specified store already exists. When importing

M 2.3.1 We are importing via Firebear. When I import I am getting success.. the product imports but I get this error: URL key for the specified store already exists. Whenever I try and SAVE ...
1
vote
0answers
8 views

Product's Tax Class change to “None” on Reindex. Any ideas?

We've just migrated from Magento 1.9.2.2 to Magento 2.2.8. We noticed in the last couple days some orders are created without billing any tax. When We go check the product We notice the tax class is ...
0
votes
1answer
22 views

Magento 2.3.2 wrong image cache path

Magento 2.3.2 upgrade after 2.2.6 having issue on product page. Images aren't appearing on product pages. The path coming is 404 /catalog/product/cache/50dd8aa5084eb9449e88d424223230cd/image/...
0
votes
0answers
19 views

Ur Rewrite interesting problem Magento 2

I need to create URL rewrite for /vendor_module/product/test/id/666. In rewrite, I want to change id/666 to productTitle.html. But when I created it I faced an interesting problem: Magento sees "...
0
votes
0answers
16 views

Eliminating JS and CSS build processes

We're trying to eliminate the entire process on making the build of JS and CSS. What we exactly want is that we will create entire JS and CSS files manually and load them as a part of footer(No ...
0
votes
0answers
5 views

Get data from controller to phtml or block in magento 1.x

I using ajax send data from phtml to controller. My problem is that, I can't pass the data from controller to phtml template. Mage::register('some_name', $data); //set on controller $my_var = Mage:...
0
votes
1answer
21 views

Edit Action column is not showing in admin grid in magento 2

Why the edit option is not displaying in the action column. Kindly help me. My Action.php code: <?php namespace AdminGrid\Grid\Ui\Component\Listing\Grid\Column; use Magento\Framework\View\...
0
votes
0answers
9 views

how to override or normalize css in magento 2 as to mach the theme css class styles?

I have Magento 2 CSS file and theme CSS file normally the theme CSS will override the magento2 CSS file then I have added a bootstrap CSS CDN the problem is bootstrap CSS overriding and adding some ...
0
votes
0answers
20 views

Magento 2.X : Add custom columns to sales_order_payment

I already inserted columns on table sales_order_payment with db_schema. I created new payment method with custom input field in Form payment template like this : <select id="paiement_echeance" ...
1
vote
0answers
10 views

Magento creates new eav attribute values instead of updating existing ones

I am facing a bad maintained Magento 1.9.1.1 installation and saw in the catalog_category_entity_text table many duplicate entries. The duplicates have the same attribute_id, entity_id, and store_id ...
0
votes
1answer
11 views

Toggle show more btn is automatically close itself in magento 2 layered navigation

I tried this jqery code and try to put "li" instead of "a"...but sometimes button works with this error in console"Uncaught error jquery is not defined" but most of the times it's not working with no ...
0
votes
1answer
14 views

Magento 2: Problem updating Magneto v2.2.1 to v2.3.2

i want to update my Magento to v2.3.2, when i run composer update, i get this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request ...
0
votes
1answer
20 views

Magento2: Create customers programmatically and associate to multiple websites

I have written a customer import which works just fine. Now the requirement has changed .. the Magento instance runs now multiple stores / websites and i need to change the customer import so that the ...
0
votes
0answers
6 views

Edit Ui Form with two table in Magento 2

Below is code For DataProvider in Edit form. Here it displays main tables data while i choose edit them. Can any one tell how to display data of another table <?php namespace My\Module\Model\...
0
votes
0answers
16 views

Getting Exception error while syncing the magento site from live to staging

I am a newbie when it comes to Magento and I was tasked with syncing our live magento 2.2.7 site with the staging. ( Copying changes from live to staging). We are using apache 2 on a cloudways, Linux ...
0
votes
0answers
19 views

Hide Authorization Token from Request Headers in browser for headless magento 2

We are using reactJS as frontend for magento 2 website using magento 2 rest APIs. But the authorization token is visible in the browser dev tools posing security risk. Kindly suggest a way to hide ...
0
votes
0answers
15 views

Magento 2 Extension Manager stuck on “Please Wait”

In Magento 2 the Extension Manager page is stuck on "Please Wait". The following error displays in Console: Failed to load resource: the server responded with a status of 503 (Service ...
0
votes
0answers
12 views

How to show available payment method according to chosen country of shipping M2

I want to restrict visibility o payment method according to chosen country and I want to hide and show and not desactive method of payment according to weight. My problem is that when weight is less ...
0
votes
0answers
15 views

Retrieving data from third party DB tables and adding it to transactional emails In Magento 2

I use a third party platform to manage my shipping called ShipperHQ. It allows me to offer click and collect and delivery with calendar dates and time slots. That platform creates it's own tables in ...
0
votes
1answer
21 views

Extension Attributes is not working

I have added one field i.e. checksum alongwith coupon code on payment page. Now I want to get and set checksum field. I tried, etc/extension_attributes.xml <?xml version="1.0"?> <...
1
vote
2answers
28 views

Magento 2.3 How to get Quote Data on product detail page

i want to get this quote data on product page but that not return any data ... only return below array instead of all quote data On other page it working fine issue only on product page. array(4) { ...
1
vote
0answers
15 views

Custom shipping rate logic

I have created a custom shipping method. I need to implement the following logic: Shipping rate = Item weight * Item quantity * Zone rate How to get zone rates in collectRates method?
0
votes
0answers
22 views

Stock level in configurable product dropdown

Can someone helpful think of a way to display the stock level of a configurable product variant in the dropdown list? i.e S... 9 in stock M...3 in stock L...2 in stock Thanks,
0
votes
2answers
14 views

Bug Uncaught TypeError: Cannot read property 'lang' of undefined on product page

I'm using Magento 2.3.2. But I found I have this bug Uncaught TypeError: Cannot read property 'lang' of undefined on the product page. Do you have any idea why?
0
votes
0answers
15 views

Magento1.8 - Restapi Custom Module - PUT using RestClient

I am using restClient for PUT activity on magento. I used 2 Headers option in the top: Content-Type: application/json Accept: application/json After I do put, I receive below error: { "messages": ...
0
votes
0answers
12 views

Custom option once across x quantity

I am having trouble with a little problem: I would like to add an extra charge of x amount if customer wants personalisation. There is also a minimum order quantity of 2 packs. Now, I have ...
-1
votes
0answers
22 views

Undefined - Free Shipping error in Magento 2 [on hold]

I have setup the table rate shipping and I can see error as "undefined - Free Shipping" Can you help me to fix this error?
0
votes
1answer
29 views

Magento 2: Captcha issue on Page load

I'm using Magento 2.2.7, I enabled Captcha in Store->Configuration->Customer configuration->Captcha Enabled for create user and forgot password forms. Captcha always displaying incorrect even I used ...
1
vote
1answer
39 views

Magento2.3.2 - Geo IP Location

Is there any plugin available for automatic detect customer current Geo location in Magento2.3.2 ?
0
votes
2answers
33 views

SQL error when run command line upgrade Magento 2

When I run the following commmand: php bin/magento s:up; It throws the following error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_magen34.mg7a_sm_products_filter' doesn't ...
0
votes
2answers
45 views

What event should I use for Customer delete observer in Magento 2.3?

I'm very new to Magento 2.3, so I can't find a list of all the events that are related to user accounts. I need to create observers for user deleted, user updated (any information in account) and user ...
0
votes
0answers
27 views

How to apply magento default function to third party application?

I am using this extension for extra fees collect from customer. This extension done with shopping cart pricing rule. Here i need to apply my condition. My condition : If shipping method is flate ...
1
vote
1answer
32 views

Magento2: How to add dependency in composer for private Gitlab modules?

I'm installing a custom module in M2 using composer from my private Gitlab repo and it is working fine. After I've added the dependency of other modules(using composer require) in my custom module ...
0
votes
0answers
23 views

Magento2: How to restrict zipcodes for particular category?

I want to restrict particular zipcodes for particular category after adding the product to cart in magento2
0
votes
1answer
35 views

Migration after a non well formed numeric value encountered in

I have migration done Magento 1.9.3.3 to Magento 2.3.2 but after migration checkout page not showing any shipping methods I have checked my exception.log file and below type error showing A non ...
0
votes
1answer
24 views

Send data from controller to phtml in Magento 1

Send data from controller to Phtml in Magento 1. I use ajax send data from phtml to controller and handle it. After processing, I want to send the data back to phtml. And put it on <option value ...
0
votes
0answers
31 views

How can I modify default Magento Form Value?

I want to modify the value of the Associate Website options in Customer > Manage Customers > Add a New Customer. The default value of Associate Website option is 'Admin' but I want to set to Main ...
0
votes
1answer
27 views

How to remove default botstrap css applies on my custom theme?

I created my own theme which depends on Luma theme. But I have an issue to applies some CSS such _reboot.scss , _grid.scss so how I can remove this?

15 30 50 per page