Cart subtotal

i created observer

<event name="sales_quote_add_item">
        <observer name="webkul_mpquote_sales_quote_add_item" instance="Webkul\Mpquotesystem\Observer\SalesQuoteAddItem" />

when ever i add product to cart i have set custom price


$subTotal=$priceOne;    //priceOne = 10,000

I try to set subtotal price 10,000 but multiplies by the quantity

my questions:

1) I want to set subtotal price through the program

2)Also, I want the no of quantities

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.