This question has been answered for Magento 1. (see: here). As I am migrating to Magento2 and need the same logic here is the issue: I am trying to figure a way to hide show stock status/availability on product page unless it is out of stock. I have all the […]
Magento
I’m developing a payment gateway module and would like to persist some of the payment provider’s return data to a custom table named xxx_yyy_transaction_log. The field order_id is a foreign key to the table sales_order in this table. I used the placeRequest method on ClientInterface class to persist the data. […]
After try to make a payment with PayPal and place the order, at the link paypal/express/placeOrder/ is showing me this issue: Uncaught TypeError: Argument 2 passed to MagentoInventorySalesPluginSalesOrderManagementAppendReservationsAfterOrderPlacementPlugin::afterPlace() must implement interface MagentoSalesApiDataOrderInterface, null given, called in … This is the code on line 119: public function afterPlace(OrderManagementInterface $subject, OrderInterface $order): […]
I installed an amasty “abandoned car” extension, but it doesn’t work for me with the following command. /bin/sh /var/www/html/mkt-core/cron.sh I get the following error
I currently have a store that runs Magento v 2.1.10 however on a separate server I have recently installed Magento v. 2.4.3. that I am developing to ultimately replace the existing store. As I have elected not to go the upgrade route, I was curious how to go about transferring […]
I’m trying to fetch all the products by customer-id for the recently viewed items, but the database table ‘report_viewed_product_index’ is empty but the recently viewed product is visible on the frontend. I tried to refresh the report as well but no change Can someone point me to how I can […]
When a new order is create and the customer has checked the Subscribe to Newsletter box, below is how the checkout/onepage/success page appears. I will like to change the text Thank you for your subscription. to something different. I have searched I located the text string here magento/module-newsletter/Controller/Subscriber/NewAction.php. I tested […]