Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about displaying and calculating product prices
0
votes
Accepted
Change product prices
Solved using the following tutorial
https://www.mageplaza.com/devdocs/how-to-change-product-price-with-plugin-magento-2.htmlt …
0
votes
Accepted
Divergence in prices
I had to change the price also by line by function:
$item->setRowTotal($item->getCustomPrice() * $item->getQty()); …
1
vote
1
answer
54
views
Change product prices
I need to know where catalog and cart prices are called to display so that I can calculate discounts via php and call the same function to display on screen.
The prices in question are those of the pr …
0
votes
2
answers
26
views
Divergence in prices
I have an observer who changes the price of the items and at the end of the routine the whole order changes, but on my cart edit screen the subtotal of the item still keeps the old price of the item, how …
1
vote
2
answers
2k
views
Change price at "checkout_cart_update_items_after"
I have some rules that change the price of product 'Z' if
the quantity of products 'X' is 'Y' In the cart, how can I check the quantity of a product in the cart and change the price of that product using … more specifically what I need to know is how to change the price and get the quantity with this event
Any help is welcome!
Magento 2.3.3
Xampp
Win 10 …
0
votes
Accepted
Change price at "checkout_cart_update_items_after"
Resolved using the "checkout_cart_save_after" event
<?php
namespace ModWay\mod\Observer;
use Magento\Framework\Event\Observer;
use Magento\Framework\Event\ObserverInterface;
class ProductCart impl …