Jump to content

How to update product price on shopping cart page that dont need override


Recommended Posts

Hi.

 

I have created a module with my custom fields for each product on version 1.6.

Now, i am using override for class Product.php with function getPriceStatic to update product price on Shopping Cart page. (http://localhost/ps1619/order)

 

I want to ask: Is there a way to update product price on Shopping Cart page which have not override above?

 

I know hook hookDisplayShoppingCart but seems it can not update product price because product object is protected

 

Any ideas or solutions.

 

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...