All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Magento 2 set order extension attributes via API

Is it possible to set an order's extension attribute value when creating the order via the API or is there an appropriate API endpoint to update an existing order with this information? For example ...
0
votes
0answers
3 views

How to output and filter collection using “->where” filter?

I trying to get output from collection using 'where' filter but no result. This is my code: $collection = Mage::getModel('my_work/datanews') ->getCollection() ->...
0
votes
0answers
4 views

Cannot validate email - MAGENTO api - how

I've been trying without success to validate the email from my website against the MAGENTO customers API and throw a message (exist or not exist) I mean, i have a website where customers are created; ...
0
votes
0answers
4 views

Add customer to multiple customer group magento2.1

I set eav_attribute group_id to multi-select and set it to varchar. But it doesn't show multi select I want to set my customer to multiple customer groups in magento2.1
1
vote
1answer
10 views

M2 | How to Get Logged in customer ID in Model class?

I need customer ID in Model class as I am creating custom API. I can get customer ID in Controller as well as in Block class by all below ways: Injecting in constructor \Magento\Customer\Model\...
0
votes
0answers
6 views

Product image not displayed in magento 2

Uncaught SyntaxError: Unexpected token , in JSON
0
votes
1answer
9 views

After Upgrade from Magento 2.1.6 to Magneto 2.3.2 i get below error

After upgade Magento 2.1.6 to 2.3.2 i am try to run php bin/magento setup:upgrade it's give below error SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a ...
1
vote
1answer
14 views

get customer who have not placed order from last 3 months but in optimized way

I need to optimized my answer. $start=2019-05-18 00:00:01; $end=2019-05-18 23:59:59; $customerArr=array(); $customers = Mage::getModel('customer/customer')->getCollection() ->...
0
votes
1answer
12 views

Show product blocks based on product id

I am new to magento . I have some product id's . I have to list this product on my custom page . These products are selected from different categories . So i cant make these products in same ...
0
votes
0answers
6 views

Ajax html response issue in Magento 1.9

I am facing an issue while getting html response from ajax. My ajax response contains an html element having "onclick" attribute, when I removed the onclick I have got the response else it is showing ...
0
votes
0answers
7 views

How to add a canonical tag on mangenot 2.2.6 for entire website through backend or through coding

How to add a canonical tag on mangenot 2.2.6 for entire website through backend or through coding when I Audit my website with MOZ Pro software its showing MISSIN Canonical Tag for 864 pages,However ...
-1
votes
1answer
21 views

Notice: Undefined property: Sm\MegaMenu\Block\Adminhtml\MenuItems\Edit\Tab\Form::$_wysiwygConfig

PHP 7.2.19-0ubuntu0.18.04.2 Notice: Undefined property: Sm\MegaMenu\Block\Adminhtml\MenuItems\Edit\Tab\Form::$_wysiwygConfig https://github.com/goodten/form/blob/master/Form.php
0
votes
2answers
26 views

Magento 2.3.2 - display text/attribute in product listing page(catalogue page)

I want to display attribute(sku) on product listing page in magento 2.3.2. I have tried to code on list.phtml file under public_html/vendor/magento/module-catalog/view/frontend/templates/product with ...
0
votes
0answers
8 views

Magento - PUT request Restapi - Header issue

I am using PUT request to change name of product entity id 1 in Magento 1.8. I am using below details while using PUT request: A. Oauth1.0 key credentials like secret key, etc B. Headers: Content-...
0
votes
0answers
11 views

Mag 1.9 change color of PRICE

I am trying to change the PRICE of all displays (catalog, product, shopping cart) from #66c7f1, a difficult to read blue, to black. Where do I do this? I have searched the .css, .scss files, changed ...
0
votes
1answer
9 views

Magento2 show label on product page if price is with or without tax

In the EU, you have go to label if a price is incl. or excl. tax in the shop frontend. If you run different shops where you have got both settings, it could be realized with different custom ...
0
votes
0answers
6 views

Free extension for online payment for SPS Tunisie

I have found this extension for Magento 1 https://github.com/sabrilime/SMT_magento but I want the same for Magento 2 any information about a free extension that adds a plugin to use this card will be ...
0
votes
0answers
8 views

Magento 2 - How to make a dynamic dropdown in custom checkout module

I have a custom module that uses most of the sample form in the Magento 2 docs for a static form - https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_form.html I need to have the select ...
1
vote
1answer
7 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
15 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
1answer
22 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 ...
-1
votes
0answers
13 views

Magento 2.3.2 Helper function getItemCollection not working

I added to 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 ...
0
votes
0answers
17 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
17 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
26 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
13 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
11 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
25 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
2answers
17 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
27 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
9 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
21 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
17 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
23 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
10 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
23 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
11 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
14 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
17 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
7 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
17 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
20 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
16 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
13 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
22 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"?> <...

15 30 50 per page