Basically I am trying to add additional fees to subtotal of checkout/cart based on product_type. Here is what I tried but I am not able to get print_r($item->getBasePrice()); because I want to add addbaseprice of item with additionalfeesuch as finalPrice = $item->getBasePrice() + 10; and do something like below for […]
Magento2
currently i can’t find an answer and hope someone can guide and help me to solve my problem. In the shop i support the qty of a product are packages of items. We have added a field to the product in which one can save the amount of items inside […]
I’m trying to get all products using Magento SQL. I just need to do some tweaks. If the product has a thumbnail, it should show its value and if it is null, it should show my custom text. My code below but I’m unaware about the null check conditions. My […]
I am trying to save value into table ‘eav_attribute_label’ My code INSERT INTO `eav_attribute_label`(`attribute_label_id`, `attribute_id`, `store_id`, `value`) VALUES (0,257,3,'test') And I can see my value in table after that query – https://prnt.sc/1qh6ifr But in admin grid I don’t see new value – https://prnt.sc/1qh6l2p Only after command mage c:f I will […]
Sometimes I got many issues related to space in my Magento Cloud, then I clean up logs and database reports and it starts to work again. How could I measure it?
I already enable critical css on the current website but is that possible to have custom critical css for customer account pages only? which can be called in customer pages only. Any solution will be appreciated.
I have Magento 2.2.1. in price showing which is residing between two span tags with price class, I want to change the direction of that span. when I inspect see lrm; after span tag and I want to remove it. I have a custom theme but I don’t know which […]
I want to show New product first on category pages. Right now all latest products are showing in last pages of categories. But i want to show on first page. anyone can help me on this issue. I am trying to fixing this with Sorting Order. Please check my code […]
I need to apply the reward points discount to the products and not to the subtotal as I need to calculate the tax after all discounts, includying reward points applied value. How can I do that? Note: The coupons work as I need, but I have not been able to […]