All Questions

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

How do I unit test phtml?

I have a very simple phtml file like <?php if ($block->getCondition()): ?> foo <?php else: ?> bar <?php endif; /> I want to write an automated test to check if block->...
0
votes
0answers
6 views

Magento 2 free downloadable product order status closed automatically

I have free downloadable products on my Magento 2 shop (Magento 2.3.4, Migrated from Magneto 1). If a customer purchases this free downloadable product, he gets a zero subtotal order which I set to ...
0
votes
0answers
6 views

how to include attributes in soap xml structure for create customer (Magento 1)

I´m trying to create a customer using the "/api/soap/?wsdl" route I am sending this structure: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://...
0
votes
0answers
4 views

Error filtering template: Warning: > getimagesize

I really need help. Two days I trying to solve this error, but nothing. I try almost everything that I know and everything that i find as solution. Error filtering template: Warning: ...
0
votes
0answers
5 views

Undefined Offset Error Product Import Magento 2.3.2

Magento is returning this error on Product import: Notice: Undefined offset: 4 in /app/vendor/magento/module-catalog-import-export/Model/Import/Product.php on line 2630 What is Offset Error and how to ...
1
vote
0answers
10 views

Product Listing on Home Page

I want Complete guide of product listing on home page programmatically. I have created a custom module and as well as a custom theme anyone could help me in this?
0
votes
0answers
5 views

Magento 2.3.3 MSI: Is there a way to remove products from search results or catalog pages when their salable_qty goes to <= 0?

This is the scenario: qty = 2 reservation exists for the product with quantity -2 salable_qty = 0 The product still shows in search results and in category pages, but you can't add it to the cart. ...
0
votes
0answers
10 views

Recommended redis setting for tcp-keepalive for Magento2

Is there a recommended Redis setting for tcp-keepalive for a busy Magento 2 store? I've seen some things that say set it to zero, others say 60s seconds, etc... Is it also recommended to set the "...
0
votes
0answers
6 views

Where one can learn the knockout js especially , how its used in magento 2?

Knockout js is interesting & complicated at the same time, As checkout is all ui component and knockout js , how one can learn knockout js which is used in magento 2 ?
0
votes
0answers
7 views

the attribute 'target' in tag 'a' is set to the invalid value 'about_blank'

Google Search Console displays the error seen in the image below. I have carefully gone through the the HTML code for this page, and found no occurrence of eve 'Target' tag. But the view page source ...
0
votes
0answers
7 views

Multiple cart price rules for % off subtotal

I have been trying to apply multiple cart rules to apply a % off discount of the whole cart based on items in the cart with no luck. The rules are as follows: Buy 2 Items - 10% Off (should apply ...
0
votes
0answers
10 views

magento 2.3.4 email not send sometimes when order is placed or when change status

I'm using magento 2.3.4 on siteground server, when i place an order, the confirmation email sometimes is sent and sometimes not, can someone tell me why?
0
votes
0answers
5 views

Magento 2 multistore create products and category per store

I have this architecture in Magento 2: Websites: 5 Webstores: 25 (5 per websites) Storeviews: 25 (1 per webstore) Each webstore has it's own Root Category (category of products). I'm facing the ...
0
votes
1answer
9 views

Magento2: Resolution image

We have too hight resolution images: https://prnt.sc/rsfqy4 and product photos are loading quite slowly. Is there any way to display reduced image quality on the frontend on products list?
0
votes
1answer
12 views

Magento 2 product import problem on windows 7

I have tried product import with images on windows 7 using CSV file. It shows error "Imported resource (image) could not be downloaded from external resource due to timeout or access permissions in ...
0
votes
0answers
4 views

MSRP vs MAP seems wrong in Magento 2

industry terms are: MSRP = Manufacturer Suggested Retail Price MAP = Minumimn Advertised Price HUGE difference .. If a manufacturer issues a MAP and you advertise below you often get in trouble.. ...
0
votes
0answers
7 views

Issue : When my widget load , my Jquerry no more avaible

I try to add Widget on product page that is a calendar which use jquery in an another webservice . In my phtml i use file_get_content But when i do this my widget does load corectly but all my other ...
0
votes
1answer
7 views

Magento 2 Angular js error while run setup

I am new to Magento, I am trying to set up Magento with ddev. So, Downloaded setup version 2.3 with sample data. When I run the setup it shows AngularJs errors in the console (See the screenshot). ...
0
votes
0answers
7 views

How can i observee , if user has entered shipping address in checkout page. Magento 2

check , if new user has entered shipping address in checkout page. Magento 2
0
votes
0answers
6 views

Can someone ELI5 magento 2 pricing?

I am not sure I completely understand Magento 2 pricing. Maybe it is because prices are usually calculated differently in my country. It usually works like this: I import manufacturer/supplier prices ...
0
votes
0answers
10 views

Custom catalog for a selected group of users

I'm trying to figure out if there's a way for me to create a custom catalog with its own set of products, pricing and promotions. This catalog will then be assigned to a specific group of customers. ...
0
votes
1answer
16 views

Disable Clickable Link On Magento 2 Order Grid Rows or ID column

When our customer service people need to copy an order number from the Admin Order Grid, they try and highlight it with their cursor and copy it but that triggers the standard M2 click action to show ...
0
votes
1answer
13 views

Need to get “default_billing” value from window.customerData object in js file magento 2

How to get default_billing value from window.customerData object in js file magento 2 Thanks.
-2
votes
0answers
14 views

New record insert in mysql database how to play a sound notification

I already know that this is not a php flatform but i can't access my stack overflow. now i want to create a or real time order totification system in php.new record insert time play a sound ...
0
votes
0answers
8 views

How to Remove all tier prices from product and Add new tier prices in Magento 2.3.4

Currently i have a custom API to live feed the product tier prices with data like this: [ { "sku":"X772A5", "customer_group_id":"1", "website_id":"2", "qty":"5", "price":"500" ...
0
votes
1answer
9 views

How to access Magento DB phpmyadmin

how can I access the Magento DB with phpMyAdmin? I'm learning programming and wrote everything on a local version of Magento 1.9.2.4, on the local version I entered localhost and could see the DB in ...
0
votes
1answer
7 views

Layer Navigation on custom collection Magento 2

We have created custom extension for clearance sale products. Collection based on the Product attribute which we have created for clearance sale.We have Block file which contains the Collection.We ...
0
votes
0answers
14 views

When creating extension attribute i got this Uncaugth type error - Magento 2.3

When creating extension attribute i got this Uncaugth type error check :- "Fatal Error: 'Uncaught TypeError: Argument 1 passed to Magento\\Sales\\Api\\Data\\OrderExtension::setCustomerFeedback() ...
0
votes
0answers
9 views

magento 2 “Header already sent ” issue when there is large data in array and json_encode function using in ajax controller

I am developing functionality in Magento 2.3 version and calling controller function by using Ajax. Controller function return product data and everything is working fine when customer is not login. ...
0
votes
0answers
9 views

e found conflicting component dependencies for Magento ver. 2.3.4

Please can anyone help me i will rely be glad if am given any help am rely tired of this and getting exhausted as well
0
votes
0answers
12 views

Magento 2 : set multiple array in Extension attribute

I have created Extension attribute for the sales order I have below data to set Array ( [a] => test1 [b] => test2 ) Array ( [a] => test3 [b] => test4 ) Array ( [a] =&...
0
votes
0answers
11 views

Magento2: How to configure paypal express according to multiwebsite?

I have multiwebsite store in Magento 2.3.3 I want to configure paypal express for each website with separate configuration details(API Username, password & signature). My stores setup:- I have ...
-1
votes
0answers
10 views

Magento PWA conform order page error

Anyone facing issue on clicking conform order after filling the payment(card method) detail. (ERROR: Something went Wrong placing your order)
0
votes
1answer
5 views

Magento 1.9.4.4 MySQL requirement

I have a site running with 1.9.4.4. I would lite to update MySQL from 5.6 to 5.7 . Want to conform if 1.9.4.4 does support MySQL 5.7 Thank you
0
votes
0answers
3 views

How to add message coupon code to minicart magento 1.x

I followed this and added the coupon code form to the minicart, I want to show the message below the form, how to add it, i try call global_messages but it not work, can you help me <?php echo $...
1
vote
1answer
21 views

contact us page submit but email not received

when contact us page submit but email not received but messages display Thanks for contacting us with your comments and questions. We'll respond to you very soon. in debug.log I get this error. ...
0
votes
0answers
8 views

What is the correct way of flushing cache by TAG programmatically? (including Varnish)

I've been looking for a correct way of flushing cache by tag programmatically and have found 2 different solutions when it comes to CMS Pages: Using the CacheInterface as described here, which ...
0
votes
1answer
21 views

How customize magento 2 menu

I was wondering how to customize the magento 2 menu as shown below.. Is someone have a clear idea about that ?
0
votes
2answers
11 views

Cron job not launching automaticaly

I've created a CRON job which I want to launch once a time every day. This cron is sending me an email when it's launching. See my crontab.xml <?xml version="1.0"?> <config xmlns:xsi="...
0
votes
0answers
8 views

In magento 2.2.8 when content deploy some style and script Not Working,( was blocked due to MIME type (“text/plain”)

enter image description here Admin screen menu not working **Front-end lot of issue like menu in responsive not working ** we run these command no issue in terminal sudo rm -rf var/cache sudo rm -...
0
votes
2answers
14 views

issue on saving category image in backend

After saving category image in backend, on inspect that element src comes with rootfolder/pathof the image .so that category image is not displayed on the front end .
0
votes
0answers
5 views

Magento 2 : get report of currency exchanged rates

In Magento 2 Is there any way to get a report of currency exchanged rates?
0
votes
0answers
6 views

Stripe error , while payment through stripe card

This error comes up while payment through stripe credit card- The reusable source you provided is consumed because it was previously charged without being attached to a customer or was detached from a ...
0
votes
2answers
19 views

Magento2.4 rying to import simple products via csv

I am trying to import products via a csv in Magento2.4 the file is a bit big its 189MB in size. I edited the php.ini file to allow a bigger max_imput_size and upload_max_filesize . I restarted apache ...
0
votes
0answers
22 views

shipping methods on magento 2.3.2 not showing correct

please i need help,my shipping methods showing i need it to showing normal like
0
votes
0answers
8 views

How to create wholeseller, dropshipper and register form in Magento 2

I want to add registration form to 3 person in Magento 2. Every form have difference input text and the data save in one column or can create new column. Please suggest to me how to do it, and give me ...
1
vote
0answers
11 views

Text swatch value for multi store view wrong on frontend [ Magento 2.3.3 Enterprise Edition]

Did anyone get the solution for this? Product text swatch displays admin swatch value instead of store value why? Magento EE [2.3.3] Steps to reproduce: Create 2 websites with 1 store view each or ...
0
votes
1answer
15 views

FCGIWrapper 100% CPU Usage

I have installed Magento v2.3.4 website on VPS with below config: OS: CentOS CPU: 2 x 2.2 Ghz RAM: 2 GB Whenever the website is accessed, I see a sudden spike in CPU usage & it goes upto 100%. ...
0
votes
0answers
13 views

cloning xml block or move block only for mobile

can anyone please help me how to duplicate the block sidebar block 'red box' in the first picture to mobile navigation like all the links in the sidebar 'red box' in first picture will be replace ...
0
votes
0answers
10 views

Wrong URL for category image when root is set to pub directory

I want to use pub/ directory for security reasons as document root for Magento website but when i switch it, images for categories and for manufacturers (in product detail) are not displayed. I ...

15 30 50 per page
1
2 3 4 5
1983