Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-2.1.7]

Denotes questions related to Magento CE and EE 2.1.7

0
votes
0answers
12 views

requested product doesn't exist rest api

I'm creating rest api to add product to cart, it works okay for some users and doesn't for others. what is reason for that? here is the code: $customer = null; $isGuest = true; $quote = ...
0
votes
0answers
23 views

Route /checkout/cart/add gives 404 error after update

After updating from 2.1.9 to 2.1.17 the /checkout/cart/add URL now responds with a 404. I checked .htaccess file, unable to find a difference. Any ideas where this route is defined? How do I debug?
2
votes
0answers
16 views

rest api are too slow after ssl

I'm building rest api for mobile application and it was working fine and result was returned in 3 seconds at most. Two days ago I added ssl to my server and since then it takes about 10 to 13 seconds ...
-1
votes
0answers
17 views

search criteria returns empty result

I'm using search criteria api to filter products, but it doesn't work for all attributes. It returns empty result for some attribute even there are products for that attributes
1
vote
0answers
13 views

Bestsellers of current month rest api

I need to get bestsellers products for the current month. I use Magento\Sales\Model\ResourceModel\Report\Bestsellers\Collection, but I get bestsellers for all months, I used the following code to get ...
3
votes
2answers
63 views

Magento 2 - Unable to Get Request Params in controller

I am trying to get input data in the controller but controller not getting url params. <?php namespace Crud\Crudatfrontend\Controller\Result; use Magento\Framework\App\Action\Context; use ...
1
vote
0answers
24 views

How to call block function in model

I'm using TemplateMonter_FeaturedProduct ang I'm building an API to build mobile application. This extension let me add specific products to appear in specific block on the storefront. Those products ...
0
votes
0answers
22 views

function in block not found

I'm trying to trace some code in TemplateMonster_FeaturedProduct extension inside Block. I've found the following line of code: $numberPerView = (int)$this->getNumberPerView(); I searched for ...
1
vote
1answer
33 views

Unable to display database table values on frontend in magento 2.1.7

I am trying to fetch table on frontend but getting this error Fatal error: Class 'Crud\Crudatfrontend\Model\ResourceModel\Post' not found in D:\xampp\htdocs\newmag\vendor\magento\framework\...
0
votes
1answer
25 views

call a controller in other module

I've installed a module and I need to get some value from frontend and pass it to a controller in my module. is it a good practice to update in other module js files that are not created by me? and ...
0
votes
0answers
26 views

Magento 2 Problem to upload a transactional email logo from admin

This is small module witch fix the problem related to Magento 2: Fails to upload a transactional email logo from admin https://github.com/charoyan88/Magento-2.1-Email-Logo-Bug-Fix
1
vote
0answers
78 views

Imported resource (image) could not be downloaded from external resource due to timeout or access permissions in row(s)

I'm importing products via csv and get the following error: Imported resource (image) could not be downloaded from external resource due to timeout or access permissions in row(s) what I've noticed ...
0
votes
0answers
7 views

pub/media and pub/media import on the same s3 bucket

I've an S3 bucket on which pub/media/import directory mounted through this steps. Now I need to upload all images on pub/media on that bucket using Thai's extension. will that behavior cause any ...
0
votes
1answer
26 views

Can't create directory /var/www/html/var/generation/Vendor/Module/Model/ResourceModel/modelName/

I've created custom module and it' created, the problem is when I'm trying to inject or get instance by object manager of the collection factory, I get this error Can't create directory /var/www/...
0
votes
0answers
20 views

phtml template doesn't work properly

I having an phtml template that had dynamic content that's retrieved from cookie and displayed it when button clicked. Template appears in all pages, but the result after clicking button appears in ...
2
votes
1answer
25 views

catalog search engine is mysql and database engine is mariadb

I've recently migrated database from EC2 to RDS. On EC2 Database engine was MySQL version 15 distribution MariaDB version 10.0.37. On RDS Database engine is MariaDB version 10.1.14. And magento ...
3
votes
0answers
25 views

Import CSV for products with new sub categories

I'm importing a CSV file with new subcategories not already created. Some times products imported correctly and others it gives me: general system exception Asymmetric transaction rollback Anyone ...
2
votes
1answer
206 views

Magento 2 Authorize-Net-Direct-Post-Patch installation

I need to update this patch on magento 2.1.7 - I am confused with file structure. CE-2.0.0 to CE-2.3.0/vendor/magento/module-authorizenet/ where should I upload these files and what is my CLI ...
1
vote
0answers
33 views

Magento 2 After upgrade 2.1.7 to 2.2.7 Element 'block', attribute 'remove': The attribute 'remove' is not allowed error throw

After upgrade magento2.1.7 to magento 2.2.7 following error show.How to solve it . 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute '...
0
votes
0answers
39 views

What is best RDS for magento and how to migrate database

I've a storefront that run on c5d.xlarge. I need to migrate database to RDS. It's MySQL database and contains about 600 table. Uploading csv need some processing like get range for years in ...
1
vote
1answer
31 views

Magento 2 : Shipping custom module doesn't work

I'm trying to extend shipping module of magento. I need to set shiping rate based on region. The problem is I cannot find my shipping modules in admin panel in Stores > Configuration and it's not ...
0
votes
0answers
18 views

free shipping applied for all products instead of products in condition

I need to apply free shipping for only products with attribute condition set to new when the subtotal of those products is 3000. I've done the following: 1- enable cart promotions for attribute ...
1
vote
0answers
25 views

cart price rule not applied for free shipping

I need to apply free shipping for specific products with specific attribute. for example products with attribute condition is equal to true. I add the following conditions if one of those condition ...
2
votes
0answers
21 views

How to create customer custom attribute for radio buttons in magento 2

I want to create customer custom attributes with following types: 1.radio buttons 2.checkbox Please provide me a solution to create customer custom attribute. If the checkbox contains more than 3 ...
1
vote
0answers
15 views

cannot write to file in magento rest api

I'm building rest api to write to json file but I get This path not writable here is the code $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $ioFile = $objectManager->...
2
votes
2answers
24 views

how to pass cron job result to a controller controller

I need to filter products based on 3 attributes and display those attributes to storefront, I've about 25000 products, so filtering them in each request takes 20 seconds. I thought about creating a ...
1
vote
1answer
31 views

Unable to place COD for guest users

Unable to place COD for guest user getting below error in console. Once reload the page the error goes away and everything works fine No third party module or custom template. Simply giving error. ...
0
votes
0answers
31 views

Ajax calls are pending for logged in users

It's weird but it's happening like adding product to cart or updating mini cart is working fine if no user is logged in. But if user is logged in then adding product to cart, mini cart update, logout ...
1
vote
0answers
34 views

Magento 2.1.7 Create Shipping label popup in Order grid view

I am using Magento 2.1.7 inbuilt Fedex Create Shipping label in our client website. Is it possible to bring the "Create Shipping Label" side popup in Sales Order grid view? Currently, this button is ...
0
votes
0answers
40 views

Placing order as a guest user not able to see my orders after creating the account in Magento2.1.7?

Placing order as a guest user not able to see my orders after creating the account(Customer Account) in Magento2.1.7 ?
0
votes
1answer
57 views

How to use PWA Studio in magento 2.1.X or 2.2 versions?

I'm supposed to develop Magento as PWA but unfortunately, I couldn't use 2.3 versions in my server. I'm impressed by this pwa studio theme https://magento-venia.now.sh\ I couldn't get any guidance.
0
votes
0answers
16 views

magento 2 how to get custom name in view order(front end)

How to display custom name in view order(front end) where I am getting the name with prefix and i need to display custom name without prefix and other place in website i need to display name with ...
0
votes
2answers
170 views

Magento 2 add sub menu into main menu

How to add submenu into the main menu of the different module in admin panel
0
votes
0answers
137 views

syntax error, unexpected 'namespace' (T_NAMESPACE)

while i try to compile magento 2, the compilation is getting paused at (1/7) stage and an error is getting logged in error log file. please find the error details below. Magento version 2.1.7 PHP ...
0
votes
0answers
113 views

How to get cart grand total(Summary) without shipping cost in checkout/cart page in Magento2.1.7?

I want to get cart grand total(Summary) without shipping cost in checkout/cart page in Magento2.1.7?
1
vote
2answers
1k views

Invalid response line returned from server: HTTP/2 200 - message after update to 2.1.7

I seem to be getting this message after i updated to Magento 2.1.7 - it only displays on the contact page when someone submits the form. Invalid response line returned from server: HTTP/2 200 I see ...
0
votes
0answers
38 views

How to hide Flat rate shipping method when store pick up is selected for Order Summary in (checkout/cart page) in magento2.1.7?

I want to hide Flat rate shipping method when store pick up is selected for Summary in (checkout/cart page) in magento2.1.7? Currently the flat rate shipping method is also shown for store pick up. ...
0
votes
0answers
17 views

Magento 2 : Search, Mini cart and menu disappear from website

I have Magento 2.1.7 store and it was working properly since last 3 months. But yesterday Search, Mini cart and menu disappear from website ,there is no error log for this. I didn't find how to fix ...
2
votes
1answer
494 views

Getting error Maximum call stack size exceeded at place-order button click

When I am trying to place an order I am getting an error like RangeError: Maximum call stack size exceeded at one-page checkout place order button click Pre Conditions 1) One-page chceckout ...
0
votes
1answer
100 views

How to hide custom option price (+$10.00) in magento2.1.7

I am not able to hide the custom price (+$10.00) in Magento 2.1.7. I am using Mageworx Extension for custom option. How can I achieve this, its my client requirement, as I am not able to hide this.
0
votes
1answer
867 views

Magento 2 how to billing address fields under shipping address in shipping page

As i need custom fields for billing address under shipping address in shipping page and text entered should display as billing address all over website where billing address will display
0
votes
2answers
83 views

How to show custom field (Account Number) on cash on delivery payment check?

How to add custom field (Account Number) on cash on delivery payment check with it's additional data saved? I have referred this link http://www.ibnab.com/en/blog/magento-2/save-payment-method-with-...
1
vote
1answer
770 views

How do I configure a Cart Rule for Free Shipping in Magento 2?

I'm using Magento 2.1.7. Trying to figure out a simple Cart Rule for Free Shipping using a Specific coupon code: Specific Code No conditions Actions: Apply - Fixed amount discount for whole cart ...
0
votes
1answer
27 views

magento 2 how to create static block that contains categories need to display in home page

I want to create an static block that contains categories and their products need to display in home page in magento2
0
votes
1answer
191 views

how to get value from localstorage of product details in magento 2

How to get value from local storage of product weight and id in magento 2.
2
votes
2answers
692 views

Add Ajax Quantity Increment and Decrement Button on mini cart in Magento 2

I want to implement Ajax Quantity Increment and Decrement Button functionality on cart items on Minicart. I didn't find any article or any module to achieve this. as qty increment(+) and decrement(-) ...
0
votes
0answers
17 views

Magento 2 how to add separate class name to credit limit in myaccount

How can i add a separate class to credit limit myaccount in the frontend as credit limit is from separate extension in magento2.1.7
0
votes
2answers
142 views

How to get session variable value in payment page?

How to get session variable value from shipping page to payment page ?
1
vote
3answers
285 views

How to get decimal value of weight in mini cart?

How to get decimal value of weight in mini cart. I need to display only 2 decimals 11.00 instead of 11.0000
2
votes
2answers
638 views

How to auto update Subtotal, Total in cart when I update product qty?

As when I change product qty in shopping cart, total and subtotal value must change without clicking on Update Shoping item button