Unable to install override in Prestashop

Category: Prestashop 15

zeirys
Asked:
2014-01-31 11:26 am EST

Hits: 247
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.

OTHER ANSWERS

0

JeffMa
Staff
7,372 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.
zeirys
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
JacobIMH
9,521 Points
Staff
2014-01-31 12:53 pm EST
Like this Question?

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200946

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!