InMotion Hosting Support Center

Unable to install override in Prestashop

Category: Prestashop 15

2014-01-31 11:26 am EST

Hits: 2,458
I have this issue installing a module which is stopping me from starting my store.
The following module(s) were not installed properly:
- avalaratax :
Unable to install override: The method getOrderShippingCost in the class Cart is already overriden.

I really need help getting this resolved, will you help me?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



11,186 Points
2014-01-31 11:45 am EST
It appears that a module that you are trying to override is already being overridden by another module. To override it with this new module, you will need to locate the module that is currently overriding the Cart class. Once that module is removed, you will be able to install your neew module.

You must login before you can post a comment about this answer.

Hi, Thank you for your response.
How do I go about doing that? I am not very computer bright.
8 Points
2014-01-31 11:51 am EST
Hello zeirys,

It sounds like you've already loaded a PrestaShop module that deals with the class Cart, and it's overriding the default value. Now when you're trying to install this new avalaratax module it's trying to also override that same Cart class but PrestaShop is letting you know that this value had already been modified, and can't be modified again.

I'd recommend simply removing any older modules you have installed prior to the avalaratax one if you really need that one to work instead, and that should free up the Cart class from being previously modified. This would be done in your PrestaShop admin by navigating to Modules > Modules and then clicking on Uninstall beside the old module you'd like to remove.

You might also want to take a look at the official PrestaShop documentation for overriding a default class behavior to see if you can simply remove the old Cart.php file to stop your original module causing the conflicts to stop overriding the default Cart class.

Please let us know if you had any further questions.

- Jacob
9,968 Points
2014-01-31 12:53 pm EST
Like this Question?

Related Articles

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!