Post by iplocker » Tue Sep 23, 2014 4:55 pm

Hello.

I have installed the Weight Based Shipping Plus extension: http://www.opencart.com/index.php?route ... n_id=13633 .
But the developer cant help me with the problem I have and is:

I have 3 Shipping methods at my site http://prntscr.com/4phtz2 .
Is it possible to code an if statment to disable the Weight Based Shipping Plus when Free Shipping is triggered ?

Free shipping module is triggered when we have total cost under 150 euros .

Thanks

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by Johnathan » Tue Sep 23, 2014 11:38 pm

I have a tutorial describing how to disable all shipping methods when Free Shipping is activated:

How To Show Only Free Shipping When Active

You can also do this with Restrict Shipping Methods.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by iplocker » Wed Sep 24, 2014 4:35 am

Hello.

Thanks for that, I have applied the code but unfortunately its not working :(
Probably because I m using the Weight Based Shipping Plus extension , and not Opencart default weight default module , right ??

Can you check the files I m attached?

Thanks

Attachments

Opencart 1.5.5.1


Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by Johnathan » Wed Sep 24, 2014 4:52 am

Ah, I see that you're using MijoShop. Unfortunately all best are off in that case. I know in previous versions MijoShop set the shipping data four times in a row, which could overwrite whatever edits you've made. I don't know if this still happens in the latest version, but I suspect it does.

This is going to be more complex than someone can help you with on the forum. If you can't get support from the MijoShop team, I recommend you post a request in the OpenCart "Commercial Support" forum (forum.opencart.com/viewforum.php?f=88), which is checked by a number of OpenCart developers. You can also try checking out the OpenCart "Partners" area (www.opencart.com/index.php?route=partner/partner).

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by iplocker » Wed Sep 24, 2014 5:08 am

Hello.

Thanks for your reply but dont think its the problem that I m using Mijoshop because I have deactivate the Weight Based Shipping Plus extension and enable the default opencart has and your code its working fine.

So I guess the problem is that your code is for the default weight module of opencart.

I m wondering how we can code and if statement not to show the extension weight module I have when free shipping module is triggered.

Thanks

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by Johnathan » Wed Sep 24, 2014 10:27 pm

I'm not sure then...my code is outside the shipping methods, so it shouldn't be affected by the methods themselves. That being said, if only a single one is having issues, then it *is* probably related, like you say.

You might consider trying a better Weight-Based extension, like my Weight-Based Shipping extension. Otherwise, you may need to hire someone to take a deeper look at the issue for you.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 3 guests