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
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
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!
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
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?
Since you have vqmod installed, why not use the vqmod version?
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!
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:
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.
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 result at frontend is the text "We ship to" and a questionmark.
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.
Who is online
Users browsing this forum: No registered users and 5 guests