Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
0
votes
0answers
188 views

How to add radio button in custom option in magento2

I want to add radio button in custom option . I refer this link Magento2 adding radio buttons in customoptions. But not working. If anything i want to chage it. Thanks.
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
316 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
1answer
932 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 ...
0
votes
1answer
109 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
102 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
1answer
357 views

catalog_product_import_finish_before Event in magento2?

Created an observer file in Magento1, using event catalog_product_import_finish_before event $productIds = array(); $adapter = $observer->getEvent()->getAdapter(); ...
0
votes
1answer
1k views

Magento 2.2 - How to change default attribute set

I have two attributes sets Set1 Set2 While adding the product, By default Set1 is selected for Attribute Set. I want this default Attribute set to be Set2. How to change this attribute set. ...
0
votes
3answers
571 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
1answer
163 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
114 views

Magento catalogProductAttributeOptionManagementV1 AddOption SOAP

I am sending a soap request to Magento and getting an error per below. <?xml version="1.0" encoding="UTF-8"?> -<soap:Envelope xmlns:def="XXX/soap/all? services=...
0
votes
1answer
220 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
0answers
666 views

Customise grid collection in magento2?

I have created admin grid for product in product view page.It display all product details.But i need to display the current product details in admin grid. How to apply filter collection from table ...
0
votes
1answer
63 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
0answers
973 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
0answers
186 views

After Editing/Activate “Integration” getting “Internal error. Check exception log for details.” problem

I've added "Test" and "Test2" "New Integration" and when I'm "Editing/Activate" then getting "Internal error. Check the exception log for details." problem. And when I'm a checking exception log, ...
0
votes
2answers
74 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
336 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
634 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
0answers
257 views

Accordion not working Magento 2 after minify JS

I have minified JS and HTML and CSS in Magento 2. After that Accordion is not working. <?php $collectionTitle = $this->getCollectionFaqcat(); ?> <div class="shy-shadow-container row mrg0"...
0
votes
2answers
106 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 ...
-1
votes
1answer
863 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 = $...
-1
votes
2answers
828 views

Magento 2.2.6 Anchor setting (ON / OFF) does not work in category setting

Magento 2.2.6 Anchor setting (ON / OFF) does not work in category setting. Please check the screenshot below. I have not found a solution. Could you please help me? nice to meet you.