Skip to content

magento man

Magento 2 Task “Update attributes for 2 selected products”: 1 item(s) are currently being updated.1 item(s) have been scheduled for update

Magento version 2.3.5 Does anyone know how to solve this? Cron is working fine I cross-check with indexing and when run this command – php bin/magento queue:consumers:start product_action_attribute.update then the problem is solved but it’s not a good way, again… Read More »Magento 2 Task “Update attributes for 2 selected products”: 1 item(s) are currently being updated.1 item(s) have been scheduled for update

Magento 2 – change block class in layout

I know I can change the template of a block with: <referenceBlock name=”copyright”> <action method=”setTemplate”> <argument name=”template” xsi:type=”string”>Dfr_Backend::page/copyright.phtml</argument> </action> </referenceBlock> But how can I change the block class?

Magento 2: Property “ActionsHintLabel” does not have accessor method “getActionsHintLabel” in class “MagentoSalesRuleApiDataRuleInterface”

In Magento 2 I am trying to add SalesRule from API: /rest/V1/SalesRules Post Request body: { “rule”: { “name”: “Test SalesRule”, “store_labels”: [], “description”: “test 50% discount”, “website_ids”: [ 1 ], “customer_group_ids”: [ 1, 2, 3, 5, 6 ], “from_date”:… Read More »Magento 2: Property “ActionsHintLabel” does not have accessor method “getActionsHintLabel” in class “MagentoSalesRuleApiDataRuleInterface”

“Cannot place order because a payment method was not provided” when using Stripe to programmatically place an order

I recently upgraded Magento from 2.3.4 to 2.4.6 and as a result updated stripe/stripe-payments from 2.9.5 to 3.4.0. Previously I was able to set up a quote to place an order programmatically as follows: const PAYMENT_METHOD = ‘stripe_payments’; //… $quote… Read More »“Cannot place order because a payment method was not provided” when using Stripe to programmatically place an order