All Questions

0
votes
0answers
2 views

Error displaying the product name in magento 1.x

I'm having an error displaying the product name. if it is "dog" English then it will appear in the frontend. If it is Vietnamese "dog" it will not display. I am doing it in js file. Other products ...
3
votes
1answer
1k views

Magento 2 : How to modify city field html for shipping address on checkout page

I need to edit the city field HTML of New shipping address form on checkout in Magento 2. I am not getting the file from where we can change this or add some classes in these fields. Please share ...
1
vote
2answers
961 views

Magento 2: Observer getRequest not working and product added issue

I have below observer namespace Custom\Module\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\Framework\App\Request\DataPersistorInterface; use Magento\Framework\App\...
1
vote
1answer
8 views

Magento 2 - why are translations from my CSV file not loading

I am using Magento 2.2.7 and theme Techno from Themevast. My app/code/design structure looks like this: frontend/tv_themevast_package/default frontend/tv_themevast_package/techno1 Template is using ...
0
votes
1answer
834 views

How to show Promotion description on associated product page

I have created a promotional shopping cart price rule for category id 87 as shown in below image- Now I want to show its description on all those product's view page on frontend which satisfy this ...
0
votes
2answers
979 views

how to create guest order in Magento-2 using test.php file

I try to create an order programmatically in magento2 using this code snippet found on webkul.com Order I want to create for guest customer.while script executing customer creating ... I don't want ...
0
votes
0answers
21 views

Magento 2: Get order ID and Date in DHL Shipping Carrier model

I have a requirement to attach the order ID and order date to the xml request (ShipmentRequest) located in /magento/dhl/model/Carrier.php Is there a way to retrieve the order ID linked to this ...
1
vote
1answer
865 views

How to add custom total row in Invoice PDF

I added pdf.xml in custom modules etc folder. But it is not reflecting in Invoice PDF. I have debug and found that in the class \Magento\Sales\Model\Order\Pdf\AbstractPdf, on line no. 676 I get custom ...
1
vote
0answers
30 views
+50

Magento2.3.1 : No.of files increased

https://www.depoto.com/ When I tried to open my website, I am getting the error that There has been an error processing your request Then I checked in system.log. The error is Disk quota exceeded ...
0
votes
1answer
13 views

Not showing images on second frontend shop

We have 2 storeviews, everything is working fine on both storeviews except the product images on the second shop. Main shop url: https://shop.diana-lys.aze.dk/default Second shop url: https://shop....
0
votes
1answer
35 views

Improving Performance

We run a Magento 1.9 online store. It contains 110,000 products. We are running into issue around long page load times for category pages and product pages. Dedicated WebApp server specs: - Apache 2....
0
votes
0answers
15 views

Recent viewed product conflcit with infiniteScroll

I have installed the Infinite scroll extension On my category Listing page. I have also added the feature of recent viewed product, but it not compatible with infinite scoll. I have done the changes ...
0
votes
0answers
8 views

In Paypal Website Payments Pro Hosted Solution, Credit card form is not appearing when checkout page is loaded Magento 2

In Paypal Website Payments Pro Hosted Solution, credit card form only appears when place order button is clicked. Would it be possible to show credit card form when checkout page is loaded ? I have ...
0
votes
1answer
26 views

Sftp not able to connect in magento2.2.5?

I am not able to connect to Sftp in magento2.2.5 Here is my code: public function execute() { $connection = $this->sftp->open( array( '...
0
votes
1answer
9 views

How to join Sales order collection and order item collection

I want to join the sales order collection and sales order item collection How to join the two collection I have collections like order collection > $ordercollection=$this->orderCollection-...
0
votes
0answers
11 views

Custom dropdown attribute sort by option is not showing proper result on category page in magento 2

I am using magento 2.2.6 and create custom product dropdown attribute called patter_name and i wanted this to use for product sort by on category page. but when i sort by this attribute "patter_name"...
2
votes
1answer
916 views

Custom checkout field doesn't save the value to quote

I created a custom attribute for quote and order like this: $quote = 'quote'; $orderTable = 'sales_order'; $setup->getConnection() ->addColumn( $setup->...
0
votes
1answer
4 views

Bulk adding & updating product attribute

[M1] I have over 2000 products in my Magento store. I want to add a new attribute called 'Warranty Terms' to display it on the frontend. This is going to be the same for all products. I know how to ...
0
votes
0answers
11 views

No valid data sent magento product export

Trying to export products from Magento using system import-export function and getting the error no valid data sent Initially, I was trying to export a few thousand products I then tried to export ...
0
votes
2answers
849 views

Add Meta for Facebook with Custom Product Page

I have this custom product page but the meta information is not correct. <?php $og = []; $og['title'] = $this->getTitle(); $og['site_name'] = Mage::app()->getStore()->getName(); $og['...
0
votes
1answer
69 views

Magento 1.9 tier discount precision

We have a Problem with differences in the total price of the order between our Magento Webshop and ERP. For example Magento (in our case 1.9.4.0) calculates this way: 7.85 € (product price) - 5% (...
0
votes
1answer
11 views

megeplaza smtp - Zend error

Magento 2.3.1 When I send a test mail, I get this error: An exception was raised while creating "Zend\Mail\Protocol\Smtp\Auth\Login"; no instance returned Logs: main.CRITICAL: An exception ...
0
votes
1answer
926 views

How to downgrade magento ver 2 from 2.2.2 to 2.1.10?

Recently, i upgraded from 2.1.7 to 2.2.2 and right now i have a lot of issue so Can i downgrade from 2.2.2 to 2.1.7? Thanks
0
votes
0answers
7 views

Warning in system.log related to failed to open stream in Magento 1.9.4

Recently I have started seeing issues in Magento logs. I have not been able to debug why this started happening. Please help ! Following are the logs: Warning: include(Crypt/Hash.php): failed to ...
0
votes
1answer
7 views

What is the use of the merger class in Magento Message queue?

Can someone kindly explain the use of the Merger class when using Magento Message queue framework? Also, why is there no fallback merger class ?
0
votes
0answers
6 views

Configurable variation is unidentifiable - Magento 2.3.1

I'm getting the Configurable variation is unidentifiable error when trying to import the configurable items to Magento 2.3.1. I think I have the correct format for the csv, using the defined format, ...
6
votes
2answers
1k views

Main Image not updating when swatch is selected Magento 2.0.8

Having an issue on Magento 2.0.8 where I have a configurable product and simple products associated with it. The simple product have images and on the configurable product there are swatches shown ...
2
votes
2answers
632 views

Magento2: Cross-sell not showing in cart, missing crosssell.phtml file

For some reason, my theme is missing the crosssell.phtml file that shows cross-sell products in the cart. I found out from my Magento2 system.log file; [2017-03-26 21:21:11] main.CRITICAL: ...
1
vote
1answer
34 views

Magento 2 how to use RepositoryInterface getList and why

I keep reading about the use of [interface]::getList within Magento 2 and how it's the preferred method for fetching records. For example: namespace Magento\Customer\Api; interface ...
1
vote
1answer
876 views

How to get Product Target Path programmatically in product edit page

I'm trying to get the latest Target Path to show up in the backend of Magento in the product edit page. I've tried everything I can think of to try to get it but I usually get NULL. I've managed to ...
1
vote
1answer
14 views

Magento 2.2 - Fatal error: Uncaught Error: Call to undefined method Magento\Framework\App\ResourceConnection::load()

Fatal error: Uncaught Error: Call to undefined method Magento\Framework\App\ResourceConnection::load() in /var/www/html/magento2_dev/vendor/magento/framework/Model/AbstractModel.php:536 Just adding ...
1
vote
2answers
2k views
0
votes
1answer
893 views

Magento SOAP v1 - updating product by SKU

I want to update product by it's SKU. I've found that it is possible to do with following code: $client->call($sessionId, 'catalog_product.update', array($product_sku, array( 'stock' =...
3
votes
3answers
891 views

Magento Web Hook

I am planing to create a web hook in Magento through which Magento will send a alert to the destination upon placing an order using web hook.
1
vote
1answer
11 views

Magento 2. Describe different types and uses of JavaScript modules. Which JavaScript modules are suited for which tasks?

Describe different types and uses of JavaScript modules. Which JavaScript modules are suited for which tasks? This is a question for the certification study guide. I know it's kind broad, but still ...
0
votes
2answers
916 views

How to store website url in session or cookies ?

I Have Multi website site. when site open first time in browser that time show a popup. popup have Website stores url. so want if any customer click (website store 1) then he will see only website ...
0
votes
1answer
12 views

How to Increase file size of Importing Products to Magento 2 [duplicate]

I'm looking to import product into M2 but the allowed size is 2MB and my file has 2.33 MB how can I increase the size? Thanks in advance.
1
vote
5answers
1k views

Magento 2 maintenance mode doesn't work

I have website maintenance mode and it allow open just homepage. It show errors when open example categories, products and admin dashboard, Error: 1 exception(s): Exception #0 (Exception): Unable to ...
1
vote
2answers
12 views

Magento2 How to get customer group from sales order item collection

I want to get customer group from sales order item collection. How do i get that? In Magento 1 it is like this $customer_group = Mage::getModel('customer/group')->load($order->...
0
votes
1answer
33 views

Issue with Authorize.net in Magento 2.3

I have update my Magento version, Now the version is M2.3 and I installed the Authorize.net patch as well. Now I am facing an issue is that - 1. Order is created in admin but on checkout, customer ...
0
votes
1answer
890 views

How to restore deleted Order in Magento 1.9.2?

I have deleted an order accidentally. It's very important to recover this order However I do not know how to recover deleted order. I am using magento 1.9.2 version. Kindly help me.
2
votes
5answers
90 views

Is it possible to make Magento 2 fast (i.e. < 2s page load) without using any caching?

In web development it's good practice to ensure that your applications perform sufficiently well without relying on a cache. Caching should not be used as a crutch or a permanent solution to mask ...
2
votes
2answers
30 views
0
votes
0answers
11 views

Some Images could not be resized. See log file for details

Some Images could not be resized. See log file for details I use Magento 2.2.6. I use allways the same picture only name change! 5781-R101.png do not work ABCDEFG.jpg work fine picture has only ...
0
votes
0answers
11 views

Magento 2 - Product attribute grid checkbox yes/no/any filter not working custom module?

$this->addColumn( 'main_table.attribute_id', [ 'header_css_class' => 'a-center', 'type' => 'checkbox', ...
1
vote
1answer
1k views

Magento upgrade to 1.9.3.4 - is forms working without form_key output in templates

I've just upgraded to Magento v1.9.3.4 and have Enabled Form Key Validation On Checkout as recommended. Magento also advices: Important! Enabling this option means that your custom templates used ...
0
votes
2answers
1k views

How to set a default value for a attribute to all products

I have create an attribute "Brand Name" from Catalog > Attribute > Manage Attribute. I have only one brand name so i want to set that name in "Brand Name" attribute for all the products. How ...
0
votes
1answer
18 views

Sort product collection on stock status in magento2.3

I want to sort my list.phtml and catalogsearch by availability. Mean that when category page or search result page loads, first show "in stock" product and at the end show out of stock items. Don't ...
1
vote
1answer
16 views

Magento 2.2.2 error when setting order status with API

I am trying to set the order status of orders to "Complete" using the API. I am running Magento Enterprise 2.2.2. Am I missing something in the data? This is the url I am calling https://localhost/...
0
votes
6answers
101 views

Magento 2 increase site speed

Magento 2 website speed very slow as per https://developers.google.com/speed/pagespeed/insights/ Result of site:- Reduce server response times (TTFB) - 1.68 s JavaScript execution time - 2.9 s ...

15 30 50 per page