All Questions

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

How to get active coupons from coupons collection in magento 2

Here we are creating coupons programmatically and also assigning skus to it with conditions. I am trying to retrieve the product collections which have active coupons. if anyone have idea ...
0
votes
0answers
6 views

Magento 2 - Category XML update to use custom list.phtml file

Using this code in the category XML update works to use my customlist.phtml file instead of the default list.phtml file. But the problem is the category title and description are repositioned to the ...
0
votes
0answers
5 views

Modifying the custom controller url to SEO friendly in Magento 2

I have created my custom module for loading the custom template. Here is the code of Vendor/Module/etc/frontend/routes.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
8 views

Magento 2 How to get applicable shipping methods without creating quote?

I am creating a custom module for Magento 2.3. Where I am not using Magento product, quote. I have a custom product(not Magento product) with a fixed weight, customer, address. Using this information,...
0
votes
1answer
19 views

Magento 2: How to Improve Code In Magento (PHP)?

I'm new to Magento just, I'm working on an event I call many files through object manager, but I know that's not a good way, I have a chunk of code just need to know how can I improve it. ...
0
votes
0answers
6 views

Magento 2 change store logo with Module

I create a new Module and do some customization. Now I want to change my store logo with this module. I find the file:- vendor/magento/module-theme/view/frontend/layout/default.xml This file ...
0
votes
1answer
14 views

Magento2 - Pagination getPagerHtml() returns empty

I am trying to get pagination on my collection in block when i call from PHTML file it returns nothing, not showing pagination but $pageSize is working fine. This function getPagerHtml() in phtml is ...
0
votes
0answers
13 views

LogicException: Unknown module in the requested list: 'Amazon_Core' in

I am trying to install magento-2.3.2 in my windows 10 64 bit system. First of all I clone from magento 2.3.2 repo. git clone https://github.com/magento/magento2.git and then I run composer install ...
0
votes
1answer
16 views

If quantity(qty) is greater then 1 so this green update button show otherwise disable. How can I do this in Magento 2?

If qty greater then 1 so this green update button show otherwise disable. How can I do this in magento2
0
votes
1answer
17 views

Scroll to Top after Adding Product to Cart?

I'd like the user to be scrolled to the top of the product page upon successfully adding a product to their cart, so that they can see the success message. What would be the best way to accomplish ...
0
votes
0answers
9 views

Warningg: SimpleXMLElement::addAttribute(): string is not in UTF-8

I updated my Magento from 2.1.2 to 2.3.2. Now I am getting below error on my checkout page in luma theme also Warning: SimpleXMLElement::addAttribute(): string is not in UTF-8 in /vendor/magento/...
0
votes
1answer
21 views

How to get value of customer custom attribute load by customer Id in phtml file in Magento2.3.0?

How to get the value of customer custom attribute load by customer Id in phtml file in Magento2.3.0? $customer = $this->customerRepositoryInterface->getById($customerId); $value = $customer-&...
0
votes
1answer
19 views

How to execute a section only when user is logged in else skip the section?

I have this piece of code in a phtml file. How can I change the code so that if user is not logged in the code will not execute else it will execute. <?php if ($accountLinksHtml): ?> <div ...
0
votes
0answers
14 views

Magento install B2B module causing issues

I am trying to install the module B2B module in my commerce Magento project. However, I am getting below error Your requirements could not be resolved to an installable set of packages. Problem 1 ...
-1
votes
0answers
11 views

Not sure I can code an app for my Magento store! Any better alternative for the same?

I am an Magento eCommerce store manager & planning to extend my business to mobile as well. Tried my hands on coding but isn't my cup of tea. Hope you all help me with some solution.
0
votes
0answers
16 views

Is the back end of magento down?

Nothing will save or upload in the back end. is magento down? i cant create new categories or add or remove existing ones and the products within.
0
votes
1answer
21 views

Magento 2 - not recieved test email in SMTP extension

We have installed Mageplaza SMTP extension in our magebto 2 store and configured the extension, But We are not able to receive emails. I have to below attached screen short.
0
votes
1answer
13 views

show product label on sale products

How to show product label sale only on products that are on sale?
0
votes
0answers
18 views

How to create two different form for the customer registration one is default and the other is Seller

I want to create the separate registration page for the seller and the customer, please guide me. I created the custom module for the seller registration page, where i called the custom page in ...
0
votes
0answers
16 views

Customer login is not working before 24 hours of registration in magento 1.9

I have a Magento 1.9 site and the customer login is not working before 24 hours of registration. Before 24 hours of registration, when I try to login with correct credentials it redirects me to the ...
0
votes
1answer
15 views

All my directories are accessible magento 1

All my directories (except app/) and my root files (install.php, index.php,.gitignore...) are accessible to the users.. Is it a problem ? I need to create a .htaccess for each my directories ? Thanks ...
0
votes
1answer
11 views

Change the “Sort By” option of a category with code

I want to change the Sort By (Default product sort order in the front end) option that is available in the Catalog -> Manage Categories -> Display Settings with a php script. I want to set that ...
0
votes
1answer
13 views

check content update javascript Magento 2

I have changed content to next page in category page in magento by https://infiniteajaxscroll.com/docs/methods.html I try to check content of list update by this function: $('.category-products ....
1
vote
1answer
31 views

how to create login and create account page in same page in magento 2

How to create login and register page on the same page and below-attached screen short.
0
votes
0answers
16 views

The host you are trying to connect to has exceeded the maximum allowed response time. sales orders import magento to netsuite [on hold]

We are facing an issue like: We are importing orders from Magento to Netsuite(ERP), using soap api orders import, So that we are hitting magento server so many times, because of that hitting the ...
1
vote
1answer
20 views

Textbox Below Size Attribute in product page

i want to add textbox names like notes under size in products page. Could you please any one tell me how to do. i have tried to via attribute but it doesn't help me.
1
vote
2answers
34 views

Move additional attributes below short description

I want to move additional infos below short description. I found this: <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
18 views

magento 2: how to display region name in dropdown

Hi to all I added Italian region name in magento db by SQL in directory_country_region as follows: INSERT INTO directory_country_region(country_id, code, default_name) VALUES ('IT', 'TO', 'Torino'); ...
0
votes
0answers
22 views

Hide reward points payment when discound code is applied in magento 2

I want to hide reward points payment option while discount code is applied but I don't know if that can be set somewhere in the Magento admin panel. I want to do it in reverse direction too, so if ...
0
votes
1answer
26 views

Trigger a cron job on custom form submit in magento 2?

Can I trigger a cron job at the time of form submission? Actually, I need to download a product pdf when the form gets submitted. But my pdf file has a large amount of data. So the site gets slow ...
0
votes
1answer
29 views

Magento 2 GetFinalPrice issue to fetch correct price

When passing the Id of Simple product then it's working fine but when passing the Id of child product then it's not working, It will not show the correct price of the product
3
votes
1answer
26 views

Get product data between 2 dates using filters in get product rest API magento2

I am using this API to get products between given end_date "http://localhost/test/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=end_date&searchCriteria[filter_groups][0][...
0
votes
1answer
30 views

how i can get custom attribute value in magento 2 final_price.phtml

I have created a product attribute in Magento 2 admin I want to get custom attribute price in magento 2 final_price.phtml How I can get this?? I tried this code but showing null in $_product ...
1
vote
1answer
21 views

Move users from one store to another (Do not share) - Magento 2.3

I had a store and many customers. Now I have 3 website with 1 store and i store view per each website, and I need to move some of my customers to the other stores, but when I edit a customer, the ...
0
votes
1answer
22 views

Logo shows old URL with HTTPS protocol

On my development store, I changed the URL recently which made the logo disappear. The image link keeps showing the old URL unless I use unsafe URL's in the frontend in stores > configuration > ...
0
votes
0answers
12 views

Magento 2.3.1 Newsletter subscription GraphQl support

We are implementing PWA theme for our Magento 2.3.1 site. Magento 2.3.1 already have many modules GraphQl supported, but unfortunately magento_newsletter module is not supported yet. So I need to make ...
0
votes
1answer
29 views

how to override core JS file in module

I am trying to override Magento_Braintree/js/view/payment/method-renderer/cc-form But i am not getting any progress. I have tried map 'Magento_Braintree/js/view/payment/method-renderer/cc-form': '...
0
votes
0answers
3 views

Display Price/Unit Without TAX - Email Template

Goodmorning everyone. Is there a way to display the price per PRODUCT / UNIT without TAX? I have attached the image.
0
votes
1answer
21 views

Magento2: Where to place the grand-total.html in my theme?

i have made some changes in: vendor/⁨magento⁩/module-tax⁩/view⁩/frontend/web⁩/⁨template⁩/⁨checkout⁩/⁨cart⁩/⁨totals/grand-total.html Where should i place it in my own theme? Nothing is working. What ...
0
votes
0answers
19 views

MySQL Query for an export of all products?

Is there any way to find out a MySQL query that would give the same results as exporting all shop products? The reason I need this. When trying to export, I get the error Message is added to ...
0
votes
0answers
13 views

How to get Child products price in /V1/products (get method) Rest API in Magento 2

I want to get child products SKU, name price and quantity in /V1/products"rest API. Currently, the response is as follows "configurable_product_options": [ { "id": 0, ...
1
vote
1answer
28 views

Magento 2 How to remove personal information fields(first name, last name) from customer account create page?

Please help me to solve it. I have attached the screen short here
0
votes
1answer
17 views

ios Safari - Click on level 0 category menu would cause the background page shifted up unexpectedly

I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1 Steps to reproduce the problem: 1. Visit webpage with iPhone/iMac with Safari browser 2. Tap on Responsive ...
0
votes
0answers
21 views

Magento 2: How to make related product on a custom post module

I am trying to create a blog module however I don't know how to create a related product to a blog post.
0
votes
0answers
10 views

DHL shipping method price on product page magento 2

How to display DHL shipping method estimate rate on the product detail page.
0
votes
1answer
13 views

Magento 1.9 : PayPal Payment Information in Order View

I placed an order using PayPal express checkout when I try to view it from backend it didn't show payment method PayPal. Can anyone help me?
1
vote
3answers
44 views

Magento 2 - Override phtml files not working

I am working on Magento 2 and I override few PHTML files from vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml to app/design/frontend/vendor/module/Magento_Catalog/...
0
votes
1answer
22 views

What is Difference Between Field, Argument and Item in Magento 2

I am not cleared about field,argument and item. Also I don't know why we use it. Xml code is: <field name="allow_shipping_method"> <argument name="data" xsi:type="array"> ...
0
votes
1answer
17 views

Magento 2 - Reauth the Customer Password after placing the order [duplicate]

Revalidate the logged-in customer's password after placing the order, once the password is correct, order status is changed to "New Status" till that it will in "Pending" status on Admin. Is there ...
1
vote
1answer
38 views

Magento2.3.2: How to redirect customer to login page if not logged in before checkout?

How to redirect the customer to the signin/signup page if not logged in before proceeding to checkout?

15 30 50 per page