Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

How to reload shopping cart summary via ajax in Magento 2.2?

I am adding quantity increment/decrement buttons on shopping cart page. How can I reload cart summery (subtotal/shipping rate/grand total/discount/tax section) via ajax ? I have added below code in ...
0
votes
1answer
59 views

How do I make a module with the form component?

I want to know how I can create a module that uses the Form Component. Nothing advanced, I just want to know how to make a simple form that can read and write entries from a database, for example a ...
0
votes
1answer
1k views

How to remove comma separator from price in magento 2.1?

How to remove comma separator from price in magento2.1 Product List and Product page? please check and give your solutions ...
0
votes
3answers
461 views

Magento 2 : Overriding Default Contact Form Controller POST.php file

I'm trying to override the contact form post controller in Magento 2.2.6, by following the answer from this thread (Override module-contact view and controller) by creating my own module. I added \...
0
votes
2answers
4k views

How to display product discount percent on product details page in Magento 2.2.1

Am I wondering how to add percentage discount value on the product details page? I have found a similar topic, but apparently, it does not work with 2.2.1 How to display product discount percent on ...
0
votes
1answer
117 views

Magento 2, how to add 'textbox' into 'cancel modal'?

Using magento 2.2, admin. I need to add textbox into dialog when confirm Cancel status in sale order.
0
votes
1answer
72 views

How to extend ParadoxLabs\Authnetcim\Model\ConfigProvider to add addtional config data to access in authencim.js and related .html template?

I see following code in authnetcim/view/frontend/web/js/view/payment/method-renderer/authnetcim.js. I understand that it's using cc.html template to display the content. How to know which Block or ...
0
votes
1answer
88 views

Magento 2: “All in Column” does not work if actions column is not present in the grid

I have built a custom grid where I have only 3 columns, i.e. Category and Priority, and the Mass Action column. Since the priority field is the only field which can be changed, so I don't want Edit ...
0
votes
1answer
94 views

Admingrid: Ui-component form in magento 2

I have created admin form using ui-component in backend, I have two fieldsets one(general) is containing noraml text fields another one(upload) is containing image uploder fields(small,large,extra ...
0
votes
0answers
891 views

ReflectionException: Class does not exist

I am running into this error when compiling: [ReflectionException] Class \Rokanthemes\SlideBanner\Api\SlideRepositoryInterface does not exist I checked and of course that class exists. Here is ...
0
votes
1answer
165 views

How to override template in magento 2?

How to remove the line below <span class="discount coupon" data-bind="text: getCouponLabel()"></span> in Magento_SalesRule/cart/totals/discount.html var config = { 'config': { ...
0
votes
1answer
1k views

How Do we can give dynamic data for a form field in admin form(ui-component) in magento 2

I need to add note to the form field using notice tag. for example <notice translate="true">Image size should be equal to some(here I need to pass dynamic value)</notice> form.xml &...
0
votes
1answer
257 views

Magento 2 - How to remove/unset all categories from a product using plugin?

I am trying to remove/unset all categories from a product using below code. It's working with Magento 2.1 but not with Magento 2.2. How can we do this? app/code/Vender/Module/etc/di.xml <plugin ...
0
votes
1answer
550 views

Error in php Module

I have some problem, on my magento,please help~ 2.2.0 php71 centos7 EasyApache 4 PHPfpm suphp MYSQL5.6.38 An error has happened during application run. See exception log for details. [07-Dec-2017 ...
0
votes
1answer
273 views

Magento 2 Update cart automatically on carty quantity update gives error “Mismatched anonymous define() module”

I have done everything mentioned in this post, however, it gives me an error in console: require.js:166 Uncaught Error: Mismatched anonymous define() module: function ($, getTotalsAction, ...
0
votes
2answers
67 views

Product sku in magento2 [closed]

I have created custom grid using ui component. I want to add product sku column in custom grid which contains product skus list from product table. How to do that .... If anyone knows please ...
0
votes
1answer
693 views

Magento2 extend core block constructor

Let's say I have a helper class (let's call it \Vendor\Module\Helper\Cart) which I'd like to use in a block. I understand I should add the helper class in block constructor, so I should extend core ...
-1
votes
1answer
778 views

Magento 2.2 customer custom attribute not saving in adminend [closed]

This is code I have used to add the attribute to customer via installData */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { /*$eavSetup = $...