Post by fido-x » Fri Jul 10, 2015 11:07 pm

This modification checks the IP address of your customer(s) and lets them know if you ship to their country.

Links with your shipping methods to verify that you do ship to their country, if so, it will display a "We ship to" message below the "Add to Cart" button.

Package contains xml files for both ocmod and vQmod.

Compatible with OpenCart 1.5.6.x and all current OpenCart version 2 releases.

Get it from Fido-X IT

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by thbr02 » Thu Jul 23, 2015 4:02 am

I get an error using the ocmod version:

Code: Select all

Undefined index: name in /home/torshammar/domains/torshammarens.se/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php on line 269         

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by fido-x » Tue Jul 28, 2015 2:32 pm

The error message is coming from a file in your vqmod cache folder and is most likely caused by a vqmod modification that you are using that is making a modification AFTER the ocmod.

Since you have vqmod installed, why not use the vqmod version?

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by thbr02 » Tue Jul 28, 2015 3:18 pm

fido-x wrote:Since you have vqmod installed, why not use the vqmod version?
Iv'e used the vqmod version and it's great, but I had some compatibility problems with some vqmod extensions.

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by thbr02 » Sat Oct 24, 2015 11:25 pm

Now I'm trying again to get this extension to work. I'm using the vqmod version and Opencart 2.0.3.1 and getting these errors:

Code: Select all

Notice: Undefined index: country_id in /home/torshammar/domains/torshammarens.se/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php on line 340

Notice: Undefined index: name in /home/torshammar/domains/torshammarens.se/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php on line 354 
The content in the xml file is modifying the files correct. The variables country_code (se), country_id (203) and country_name (Sverige) are passed ok, but at the last output they seem to have been deleted someway. The passed code is xx at the end.

The result at frontend is the text "We ship to" and a questionmark.

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by thbr02 » Sun Oct 25, 2015 12:24 am

The problem was that the database at http://api.hostip.info/ did not included my IP. I added the IP and now it works. Kind of strange if customers IP is not in the database, they will not see the country and flag.

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden
Who is online

Users browsing this forum: No registered users and 5 guests