Skip to content

I want to change the default success message of applied coupan by taking a private value in JS object

This success message “Your coupon was successfully applied.” should be replaced with coupan label. I have console.log(totals) value in vendor/magento/module-sales-rule/view/frontend/web/js/action/set-coupon-code.js here is portion of my code. ).done(function (response) { var deferred; if (response) { deferred = $.Deferred(); console.log(totals.totals._lastValue); console.log(totals); and… Read More »I want to change the default success message of applied coupan by taking a private value in JS object

“message”: “”%fieldName” is not supported. Correct the field name and try again.”, “parameters”: { “fieldName”: “DiscountData” }

{ “product”: { “id”: 0, “sku”: “9999”, “name”: “test”, “attribute_set_id”: 4, “price”: 200, “status”: 1, “visibility”: 4, “type_id”: “test”, “created_at”: “test”, “updated_at”: “test”, “weight”: 1, “extension_attributes”: { “website_ids”: [ 1 ], “category_links”: [ { “position”: 0, “category_id”: “string”, “extension_attributes”: {}… Read More »“message”: “”%fieldName” is not supported. Correct the field name and try again.”, “parameters”: { “fieldName”: “DiscountData” }

Magento upgrade: Failed to download elasticsearch/elasticsearch from dist [duplicate]

I am doing some upgrade testing for Magento – trying to upgrade from 2.4.4 to 2.4.6. When I run the ‘composer update’ command it is erroring with the following: 384/511 [=====================>——] 75% Failed to download elasticsearch/elasticsearch from dist: The “https://api.github.com/repos/elastic/elasticsearch-php/zipball/2d302233f2bb0926812d82823bb820d405e130fc”… Read More »Magento upgrade: Failed to download elasticsearch/elasticsearch from dist [duplicate]