Unanswered Questions
2,320 questions with no upvoted or accepted answers
13
votes
1
answer
932
views
Fedex Shipping Weight and Value is not setting while creating order programmatically
I'm trying to create orders programmatically using the FedEx shipping method. other methods are working fine. when I'm setting the FedEx getting the error like please specify the shipping method.
...
13
votes
2
answers
3k
views
Magento 2.1.1 - Improve security with Content Security Policy
I have a store running fine with the latest version of Magento (currently 2.1.1), and I'm trying to improve security through Content Security Policy on Apache 2.4.7 (Ubuntu 14.04). I removed all <...
11
votes
1
answer
2k
views
Magento 2.1.9 : Change store based on country
Important: I don't want to buy any GeoIP extension.
I have a Magento 2.1.9 website with multi-site and multi-store setup.
I have setup website for KSA, UAE, CHINA, EGYPT etc. and under each website ...
11
votes
1
answer
3k
views
Magento 2 - Update quantity and totals of cart page without page reload?
In Magento2 - We need to update main cart on change of quantity by Ajax without click on "Update Cart Button" and without reloading the page,
Below my code in this code only update cart subtotal but ...
8
votes
1
answer
1k
views
Magento 2 Customer address attribute not saved while creating new order from admin
I have created one "Customer address" type of attribute name "Suburb", It successfully created.
It shows on Checkout, Customer create(admin) and Create New Order address(Admin) section, While It ...
8
votes
1
answer
3k
views
Error message "Please enter valid date"
I am getting an error message when I use any date field for products or coupons. It tells me to enter a valid date. The dates are valid and there is no range that satisfies the system.
Some payment ...
8
votes
1
answer
1k
views
How to add custom customer attribute in custom tab in customer edit page of admin in magento2
I have created custom customer attribute successfully. Which are showing under account information tab of customer edit in admin.
I want to show them in my custom tab.
8
votes
4
answers
5k
views
Programmatically update name of category in specific store
I have a magento 2 multi store setup (e.g. stores with the id 1 - 3) and I want to update the name of the category with the entity_id 3.
I've tried
$cat = $this->_categoryRepository->get(3, 3);...
8
votes
1
answer
2k
views
How to create admin grid without db collection in Magento - 2
My requirement is to display a grid of data from a web service with search and sort functionalities. Currently what I am doing is, storing all the data from the web service into a db table and ...
8
votes
1
answer
6k
views
How to Print PICKING or PACKING Slips Before Shipping - Magento 2.0?
We ship large items and we have to configure the shipment on a pallet (or pallets).
When we get the order, based on ship to location and carrier chosen, we may send on one pallet, two pallets or ...
8
votes
1
answer
3k
views
how to load or add js before require js in magento 2
I am trying to override default_head_blocks.xml like below
vendor\magento\module-theme\view\frontend\layout\default_head_blocks.xml
<?xml version="1.0"?>
<!--
/**
* Copyright © 2016 Magento....
7
votes
0
answers
1k
views
Debugging emails
I have a Magento ver. 2.1.3 setup that is not sending any emails.
I'm trying to fix this, but nothing I do seems to work.
My server has protections against spam which forces scripts to use SMTP.
I'...
7
votes
0
answers
238
views
Alternative to Authorize.net Direct Post?
Magento2 - payment method Authorize.net developer support notes that Direct Post Method is deprecated which is replaced with Accept.js.
Are there any plans for Magento 2 Community Edition to ...
7
votes
1
answer
4k
views
How do I consume the REST API in Magento 2, using AJAX with session-based authentication?
I am having issues successfully making an AJAX call to Magento 2 REST API endpoints, using session-based authentication.
When I run the following javascript, I always receive a 401 (Not Authorized) ...
7
votes
3
answers
3k
views
Product image not zooming in properly when hovering on image at product detail page
In my product page detail when i try to hover the product image there's only white box with low opacity overlaying at the top of my image like this :
Usually in Magento 2, when hovering the image it ...