All Questions

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

How to print Array [closed]

I am getting result in array like this now I want make drop down of this label and value Array ( [0] => Array ( [value] => default [label] => Default Source ) [1] => Array ( [...
0
votes
0answers
17 views

How to redirect from email to a particular stores in Magento 2?

My website has 2 stores, English and Arabic. I send forget password email from the Arabic store but when I click in the email then it redirected to the English store instead of Arabic. Can anyone ...
0
votes
1answer
32 views

Magento 2.3 : Create plugin of __call method

I need to create plugin for this below file : vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php There are __call function in this file : public function __call($name, $arguments) { ...
1
vote
0answers
19 views

Magento 2.3.4 version product thumbnails & product image issue on product detail page [PDP]

I have just updated Magento to 2.3.4 but facing an issue of images on Product Detail Page(PDP). I have changed the layout of thumbnails as vertical. After changing the thumbnail image layout on PDP ...
2
votes
0answers
29 views

Magento 2: currency drop down is not showing?

I have set up the currency according to store view but when I see the frontend, it's not displaying. I have done all the things. Moved the currency using the default.xml file. <move element="...
0
votes
2answers
27 views

Magento2 - How can I convert default Magento cart icon into simple text like Cart?

I need to convert the cart icon having the following CSS .minicart-wrapper .action.showcart:before{ font-size: 35px; line-height: 33px; color: #8f8f8f; content: '\e611'; font-family: 'icons-blank-...
0
votes
1answer
14 views

HOW to fix 404 error on order placement sagepay card on mobile and small screen

9.3 facing issue on small screen order place by sage show 404 pop not loading card form some help how to fix it
0
votes
1answer
27 views

Select option in configuration not store in database

I am following the answer to creating a table with dropdown in Store>Configuration. Its looks good but not storing my selected dropdown value in core_config_data table. currently its storing null ...
0
votes
0answers
20 views

Cannot see My account link in header on one of the category page in magento 2

I have one category page which contains static block, I don't see My account and shopping cart in the header when I visit that page. See https://prnt.sc/r4y5n3 However, it is appearing on all other ...
0
votes
1answer
20 views

How to add a js file at pub\static\frontend\vendorname\themename\en_US level

How to add a js file at pub\static\frontend\vendorname\themename\en_US? Where should I place the js in my theme in the theme folder at the design directory? And how can I include the js file?
0
votes
0answers
15 views

how to fix magento 1.9.3 ERR (3): Notice: Undefined variable: productId

Hi Magento log show ERROR Notice: Undefined variable: productId in /home/myhomestoreco/public_html/app/code/local/Sm/Cartpro/controllers/IndexController.php on line 31
0
votes
0answers
18 views

I want to override magento2-base module in magento 2.3

I want to override vendor/magento2-base/pub/errors/processor.php file but didn't find any solution. If anyone knows how it can be possible then let me know.
0
votes
0answers
8 views

Magento 2 UI Component conflicts between observable value

I try to add UI Component to product item on product list due to difficult FE login for each item. But I was wondering when conflicts between components appeared. All components for each item has a ...
0
votes
1answer
19 views

How to provide provision to upload a pic during checkout in Magento 2

Here I want to add a functionality in checkout. where the user can upload a logo or picture during checkout and I want to use that pic afterward. for eg: If a customer uploads his logo or picture ...
2
votes
0answers
17 views

Data migration Tool sales rule actions and condition serialized

I'm using Magento Data migration tool to migrate Magento 1.9.3 to Magento 2.3.4, everything went fine until I check the log error when I went to checkout page, I found out that in sales_rule table ...
0
votes
0answers
21 views

Magento 2.2.10 > 2.3.4 upgrade after prodouct page paypal button click and reloading after not going paypal page

I have upgraded Magento2.2.10 to Magento2.3.4. When product page click on Paypal button then open the iframe and then again close, not working properly and rest cart and checkout page working fine ...
0
votes
1answer
29 views

Magento2.3.3 - Where can I see the Store Credit amount of an user?

I'm using Magento2.3 Open Source. Here in the doc, you can see references to Store Credit in the Open Source version: If the purchase was paid with store credit, mark the Refund to Store Credit ...
0
votes
0answers
16 views

Upgrade to Magento2.3.4 by importing database from Magento2.2.x site into Bitnami Magento2.3.4 VM

I would like to know if importing database alone from Magento2.2.6 CE site into a Bitnami VM running on latest Magento2.3.4 CE and PHP 7.3.x version? Assuming that custom code and themes will be ...
0
votes
0answers
19 views

Magento 2 create new customer section

I want to create new customer section example sampleorder url like : customer/account/sampleorders/ I tried below method that is working but it is the wrong way to modify core Magento files, what I ...
0
votes
1answer
22 views

Magento 2.3.x: Display address field on registration form?

I'm looking for a way to display address fields on the customer registration form. In previous versions of Magento 2, I was able to add them using the below snippet in the customer_account_create.xml ...
0
votes
1answer
17 views

Magento2 Cart prices Multi Currency store

I have an online store with 3 different currencies. I fetch the prices of each product from an external web-service. A weird thing is happening, when I switch the currency from the store, the prices ...
0
votes
0answers
10 views

Magento2 - Get “Sort By” value in catalog search page

How get Sort By value Relevance in this page. Using $productListToolbar return only price, name, position value, but I need relevance. Attached the Screenshot here.
0
votes
0answers
14 views

M2 - Foreach only count attributes with value

I have a foreach loop and a array that counts the total attributes from a attribute group. What I need that the array only counts the attributes that have a value. This is the code: <?php ...
0
votes
2answers
18 views

Magento 2 Programatically created customer login is not working

I have created customer using following links: https://meetanshi.com/blog/create-customers-programmatically-in-magento-2/ OR How to add a customer programmatically in Magento 2? The customer is ...
0
votes
0answers
15 views

Magento 2.3.3 - How to use 4 precision pricing only for product pricing except all other pricing?

I need to set 4 precision only for product pricing(frontend and backend) but all other pricing will keep the same 2 precision. For example, unit product pricing will be 26.3561 and after adding to ...
0
votes
0answers
21 views

Magento 2 pub/media broken symlink

I moved my Magneto2 v2.3.3 project to a new vps service. My operating system are Ubuntu 18.04. When I'm doing php bin/magneto setup:install I get the following error: Missing write permissions to ...
0
votes
1answer
20 views

Magento 2 - Related products not showing

I try to show "Related Products, Up-Sells, and Cross-Sells ". All of them work, but "Related Products". I thought there must be something wrong with the products which I have assigned to Related ...
0
votes
1answer
22 views

How to add multiple pages in invoice pdf?

I am generating an invoice of order. when the order is big means it has a lot of different items in it. It shrinks the text inside the invoice. I want to make it go on two pages or more if the order ...
0
votes
0answers
17 views

magento 2 custom input type for custom option form not rendered

Magneto 2 I try to a new custom input type(option type) for product custom option. Using the following code I success to add custom input type but not load form (like price, price type , SKU, etc). ...
4
votes
0answers
23 views

Where can I find official documentation of the internal functions and methods used by Magento's default/core modules?

Am I missing something or does Magento not provide any documentation about the core/default modules it uses? Let's use an example: say I want to create a module which incorporates various core ...
0
votes
0answers
13 views

Magento2.3.3 - Extension attributes in PaymentInterface

I need to create some custom fields using extension attributes and I need to save them to the additional_data column from the sales_order_payment table. So how to do this ? Thanks in advance.
0
votes
1answer
21 views

How to add new store information to email templates Magento 2.3

I'm trying to change the store_email variable which can be used in all email templates to general/store_information/email (a new system field I created). This variable loads trans_email/ident_support/...
0
votes
1answer
30 views

Magento1.9.3 - Sagepay show 404 on mobile place order

i am getting error 404 on order place on mobile screen only on
0
votes
2answers
21 views

Magento 2.3 - Product filter with multi select custom attribute

I trying to do filter the product collection with my custom attribute(Type : Multi select). It is not working. Kindly help me
0
votes
2answers
25 views

How can I use ssh command using php script as root user?

I am working third party integration for which new files generating automatically when my code is running. But it required permission after creating the file. I want to give the permission as a ...
1
vote
1answer
25 views

Knockout js - unknown syntax error

This is a part from Magento_Checkout/web/template/minicart/item/default.phtml file: <dl class="product options list"> <!-- ko foreach: { data: options, as: 'option' } --> <dt ...
0
votes
0answers
11 views

Searching for parts with / and -

When searching for a product that includes a / and a - more than one result shows for the specific product that was searched. The actual product that needs to appear doesn't show till page 2 meaning ...
0
votes
1answer
12 views

Magento 2 new fieldset/field in cart price rule show unwanted Currently Active Tab

This is in my custom module xml sales_rule_form.xml: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
0answers
15 views

Magento 2 : Megamenu active issue

I am using magento version 2.3.3 Currently i am using Venustheme Megamenu and created some some category and custom menu for that In front-end top menu navigation active not working when click on ...
0
votes
1answer
29 views

Magento 2: How to add OR condition b/w 2 AND conditions in Searchcriteria

I have a requirement where I found the list of specific orders according to the filtered conditions. I need to create a searchCriteria which I can pass to $this->orderRepository->getList($...
0
votes
0answers
22 views

Magento-2.2.5 GIF Images uploaded for product not working in frontend

I am trying to upload .gif image in backend in magento2.2.5 for downloadable product but it is not displaying properly in frontend. product image save in below path: catalog/product\cache\960x720//...
1
vote
0answers
31 views

Magento 2 hide shipping methods based on product attribute & shipping address

I Would like to hide shipping methods and display a custom message on the checkout page & cart page based on product attribute flag & if the shipping address is outside of the USA. I used the ...
0
votes
0answers
10 views

Get getTotalsAction result data

I tried updating the cart using JS and summary container is updating properly. But I want to update the quantity of the item. So basically I have added a custom button in checkout/cart page. When this ...
1
vote
1answer
25 views

Magento2 - How to update configurable product price based on date selection with color, size etc attributes?

In Magento2 Configurable Product Page I want to update price based on attribute change like color, size etc. with custom field FROM DATE and TO DATE selection. NOTE: (by default Magento provides ...
0
votes
0answers
13 views

Magento 2: Product Import through csv without SKU

can we import products through csv without sku column? how to add with same unique attribute same as sku ? note: don't suggest add random value for sku.
0
votes
0answers
12 views

importing svg icons problem in .scss

I want to import svg icons of countries using this github project https://github.com/lipis/flag-icon-css The icons format is .svg , whenever I generate css through php command php shell/cssgen.php ...
1
vote
0answers
18 views

Mangento 2: How to get language swicher using getChildHtml()?

For minicart: (a) Reference name: minicart (b) as : minicart, so getChildHtml('minicart') For top search: (a) Reference name: top.search (b) as : topSearch, so getChildHtml('topSearch') ...
0
votes
1answer
14 views

Magento 1.9 Error 503 on user login, but only on some random accounts

Some of the users of my shop experience a 503 'Service unavailable' error when trying to log in or reset their passwords. if a user gets the 503, the same account keeps getting the error, until I ...
0
votes
2answers
34 views

How to check product is exist in current website or not?

I just want to load the product if that is available on the current website else not on the custom page. here is my code which is not working product still loading if that not exists in the current ...
1
vote
0answers
16 views

Magento 2 Check if Shipping Method title is abc add some Text

I am working On Shipping Methods where I want to display text as per the shipping method Title. I got the file methods.html file and there are display shipping methods by Knockout js. Now I want to ...

15 30 50 per page