Questions tagged [magento]

Magento is an e-commerce platform written in PHP atop the Zend framework. Questions should be related to writing code for Magento. General Magento questions may be asked on https://magento.stackexchange.com

-1
votes
0answers
10 views

Magento 2 - zend_db_expr returns object instead of array format

Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\Collection Object ( [_optionValueTable:protected] => eav_attribute_option_value [_coreResource:protected] => Magento\Framework\App\...
0
votes
1answer
12 views

Magento 2.2 Configurable Product with Downloadable Option: Email doesn't include download links

I have a configurable product with a downloadable option. When I perform a test purchase of the downloadable product option, the confirmation email doesn't include a link to the download, but instead ...
-2
votes
0answers
14 views

Magento 25th product showing on new line

On the product category page \catalog\category\view.phtml, I have the limit set to 25 products in the Systems > Configuration tab. If there are more than 25 then the 25th products goes to a new line ...
0
votes
0answers
8 views

How to limit results in Magento SOAP salesOrderList (or sales_order.list)

I am making a call to Magento SOAP webservice salesOrderList. But i want to control pagination (page size and current page for example). The Magento docs says nothing about pagination. Is there a way ...
0
votes
1answer
10 views

Fishpig Magento layout issues

Running Magetnto 1.9.3 I have installed the Fishpig Mutlisite extension and it is working fine, all talking to each other, but the layout is terrible. I have followed the customisation instructions ...
0
votes
0answers
7 views

Magento 1.8 and varnish cache 4.0.5 get 404 product page issue randomly

I have used varnish cache for awhile on my Magento 1.8. It worked well for a long time until now I'm having an issue that some product URL got 404 error. It's randomly, not specify any product. And ...
0
votes
0answers
8 views

Associated Products not showing in Associated Product Table in Magento1.9

I am creating associated products, it is created but not shown in the associated table.
-1
votes
0answers
13 views

Attributes error on importing Magento 2 products

Im tryin to import products.csv on my Magento 2.2.6 website, but i receive the below error. 1. Value for 'news_to_date' attribute contains incorrect value in row(s): 1, 2, 3, 8, 18, 19, 20, 21, 22, ...
0
votes
1answer
10 views

Unable to start rabbitmq-server after enabling rabbitmq-management

I've installed Erlang and rabbitmq. After that started the service $ sudo systemctl start rabbitmq-server $ systemctl status rabbitmq-server ● rabbitmq-server.service - RabbitMQ broker Loaded: ...
-1
votes
1answer
17 views

SCP Permission denied (publickey) - EC2 instance with bitnami magento

I'm running this command: sudo scp -r -i /Users/Name/Desktop/Vue-storefront /Users/Name/Desktop/Directory/Magento\ key/pem/mykey.pem bitnami@ip:/opt/bitnami/apps and then I'm getting this: Load ...
-2
votes
0answers
11 views

Remove white space, Magento webshop [on hold]

Can anyone help me identify why there is a white space to the right of the three content-boxes? As far as I can see, it's defined by .grid-container:after - however in the stylesheet it's set to 0 ...
0
votes
0answers
13 views

Problem installing Magento on MAMP in Mac Pro Mojave because it cannot find mcrypt

I have a problem installing Magento on Mac Pro Mojave because it cannot find mcrypt. I am stomped way because I have already installed mcrypt on MAMP and PHP recognizes that it is enabled. I am ...
0
votes
0answers
12 views

Pager does not show items, Magento2

Pager doesn't show items. It does show count of them and even paginates. But it paginates nothing. The code is below. Block/TestClass.php <?php namespace Wade\Crud\Block; class TestClass ...
-1
votes
2answers
42 views

403 Forbidden after changing permission of files and folders

Magento officially recommends to set the permission of all folders to 700 and of files to 600. (Source) They instruct us to execute these commands to set the permissions: find . -type d -exec chmod ...
0
votes
1answer
27 views

Magento / CSV import - products aren't visible in shop

I need to import products from CSV file and I used the option to import products with images form CSV file. The import was done without any problem/errors. I have all products imported in admin panel, ...
0
votes
1answer
16 views

Magento 1.9 Site onto Github

This is probably a really stupid question. Is there a way to get a magento 1.9 site which is hosted on a godaddy server (idk why they would do such a thing), into a github so that these people can ...
0
votes
0answers
14 views

Magento 2 Import Products, Category problem

All right, I found magmi, where I can import products without problem. The only issue is that on CSV from provider, there is column "Category" (for each product, we are talking about 50.000 products). ...
0
votes
0answers
15 views

magento 2 several blocks linked to one template

I need to link 2 blocks to one template but, so I declared this layout: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:...
0
votes
1answer
13 views

Magento 2 Amasty Layered Navigation. Remove display of current applied filters

I am trying to remove the block which displays all of the current applied filters. Please see image below. Is this done by editing a layout file or via an option in the admin panel? If so how do i it?
0
votes
0answers
17 views

Authenticate to Magento REST API without a redirect URL

I need to be able to access the Magento REST API so that I can keep customers in sync with another system of ours. Is there a way to authenticate to the API that doesn't require me hosting a page for ...
0
votes
0answers
11 views

Magento 2 How to get available shipping methods for individual cart item

I want to show information like "Available for Shipping" / "Not available for shipping" with each cart item in Magento 2 cart. Most of products on our website are available for shipping but some of ...
0
votes
0answers
15 views

Magento 2 REST API customers/me not working

I tried all existing answers but no luck. TIA. `{ "message": "Consumer is not authorized to access %resources", "parameters": { "resources": "self" }, "trace": "#0 /home/...
0
votes
1answer
9 views

Unable to get local Magento install to work after importing database

I recently created a database backup of the live site to use to import locally. After importing database dump, and trying to run the Magento install locally, I get many errors in the log that are ...
-2
votes
0answers
11 views

Empty post variable in custom module Magento enterprise

I have created a module using the module creator which has a back end grid and can add and update new entries. This module is working fine on the magento community edition and i am able to add , ...
0
votes
0answers
24 views

How do I install Freetype for PHP in an Azure Web App (for Linux)?

I'm attempting to get a Magento 2 installation up and running for testing on an Azure Web App (for Linux) with PHP 7.0 and Azure MySQL. I've got Magento installed but I have encountered the following ...
-3
votes
1answer
33 views

Magento when click to color swatches the product image resize to be smaller [closed]

Magento when click to color swatches the image resize to be smaller that container check for example the Normal image https://samsonite-egypt.com/media/catalog/product/cache/1/small_image/305x/...
0
votes
0answers
18 views

How to show color swatches in recently viewed products

In phtml file i just added the following code $swatchBlock = $this->getLayout() ->createBlock("Magento\Swatches\Block\Product\Renderer\Listing\Configurable") ->setTemplate("...
0
votes
0answers
12 views

Magento 2 routing between Controllers

I Have an Index.php file, in which I have a form with action to ../Action/Create.php. Looks like this: Main Controller: ../Controller/Index/Index.php I need to access via different controller, ...
0
votes
0answers
10 views

Magento/PHP Syntax for attributes

I have Simple Shopping Feed extension installed on Magento 1.9. There's a section where you can pull in variables from products to generate your XML file which is then pulled by Google Merchant Centre....
0
votes
0answers
9 views

How to get OAuth access token from Magento2 using Node.js?

I have created integrations in magento but couldn't get store_base_url and oauth_verifier.
0
votes
1answer
18 views

Magento 1.9 order comment ADD do backend info

I am trying to add a box for customers to place a comment on their order. I've added it to my /checkout/cart/cart.phtml You can see I added it here <div class="cart-collaterals"> &...
0
votes
1answer
17 views

How to check in checkout page that is user already registered in magento?

User will provide his email address in checkout page. And I will have to identify that is user already registered or not. If he is registered then he will asked to enter his password to login else he ...
0
votes
0answers
20 views

Categories Links are not working in Magento 2

I have like 50 categories with the settings of URL Key in Search Engine Optimization. And, my link settings has .html suffix of category url. Can you guys help me where I am doing wrong ? Please ...
-1
votes
0answers
17 views

In MAGENTO Some Media Images are not displaying

I have tried with all the possible solutions i got from Stack-overflow, Stack-exchange, Magento community etc, also. Some images for certain product's that are uploaded through magmi plugin are ...
0
votes
0answers
15 views

Vue-storefront installation error. Can't build storefront npm

I have some questions according to the installation of Vue-storefront on my local. I am using Mac OS 10.13.4 and node version 8.11.5, npm version 5.6 But while building storefront npm, it returns an ...
0
votes
1answer
17 views

magento How to add a block to the bundled product page

I am a newcomer to magento. During the learning process, I want to know how to add a block to the bundled product page. The piece of information I found through google doesn't know what to do with it.
0
votes
0answers
24 views

Magento2 theme mini cart KO templating issue

I have issues with Magento2 theme mini cart KO templating issue. I have been trying to create a realtime mini cart dropdown in my header and having issue with its data rendering. I tried KO ...
-1
votes
0answers
11 views

Magneto 2 checkout addresses fields

How can I add a label for checkout addresses fields in magneto 2? fields
-1
votes
0answers
12 views

Magento saving multiple orders with same order ID

I am developing a magento store and the store is saving orders with same order ID I am using postman for getting response The API is : http://35.168.99.29/eliteusa/administrator/api/getOrdersList ...
0
votes
0answers
10 views

Mail Innovation method in UPS Shipping, Magento1.9

How to setup "Mail Innovation" UPS shipping method in magento 1.9?
-2
votes
3answers
34 views

How to check Magento version in all versions including Magento1.x and Magento2.x?

I develop Magento extension for both Magento1.x and Magento2.x. I want to provide a source code for all version(Magento1.x, Magento2.x). I need to check Magento version in first part. How to check? ...
-1
votes
1answer
26 views

Options in select field only appearing after switching tab

I have a problem with a <select> in my code. As you can see in the picture when I reach this point in the checkout the options are hidden in a strange way. When I just switch the tab and go ...
0
votes
0answers
19 views

Magento 2: Display, update and delete product individually according to quantity

Can someone help me on how to do this. Ex. Item Price Qty Subtotal CustomText A $1 1 $1 text1 A $1 1 $1 ...
-1
votes
0answers
18 views

What is the difference between Model on Magento1.x and Model on Magento2.x?

I'm working with Model in Magento2 extension development. I have experience in Magento1 extension development,but Magento2. I want to know what difference between 1.x and 2.x version is in Model(with ...
-2
votes
1answer
24 views

How do i hide error notification messages in magento 2

How to hide error notification message in Magento 2 (only error)?see image example
0
votes
0answers
7 views

Magento: getData is null when _data is full

I have this snippet: $collection = $this->_getCollection(); $data = $collection->getData(); var_dump($collection); //var_dump($data); If I dump out the $collection in the _data property is ...
0
votes
0answers
13 views

How to change the label when coupon is applied?

This is what I want to change I want to change the extra fee label to discount. Can't seem to find out how to do it anywhere.
0
votes
2answers
46 views

Magento 2 Order Confirmation Emails Not Sending

Currently having an issue with order confirmation emails not sending. I have looked at various forums / solutions and these haven't worked. My existing setup is using the MagePlaza SMTP to send ...
0
votes
1answer
20 views

Magento2.2.0 Community Edition Google Analytics Transaction Tracking issue.

I am using Magento 2.2.0 Community Edition for one of our project. We have implemented Google Tag Manager And Google Analytics as per the Magento2 Guidelines. After few days we came to know that ...
0
votes
0answers
10 views

Magento Related Product not able to add to cart

I am not able to add related product to cart from product detail page while checkbox true selected related product dont add in to cart.