Search found 4 matches

Page 1 of 1

Search found 4 matches

Re: [MOD] GeoZone - Add All Countries Button

mmm... i m not very sure how to hardcode this... some direction? Opencart follows a MVC model, so the proper way will be to add a new function in the properly controller file, add a method in the controller and add a button in some template. Sorry not to be more helpful, but I'm just starting to de...

Jump to post
  • Sat Nov 12, 2011 5:13 pm
  • Replies 97
  • Views 97306
Re: [MOD] GeoZone - Add All Countries Button

jp1976 wrote:hi all. if i want some buttons like this, how i can?

Europe -- USA&Canada -- Asia -- Africa
Best way... hard code it directly in the php file. I know isn't elegant, but is easy and works.

Jump to post
  • Sat Nov 05, 2011 12:35 am
  • Replies 97
  • Views 97306
Re: [MOD] GeoZone - Add All Countries Button

Is my first experience with Opencart, but the normal way to upgrade shouldn't affect this, because it does the same as if you click the countries one by one.

Jump to post
  • Tue Oct 11, 2011 1:38 am
  • Replies 97
  • Views 97306
Re: [MOD] GeoZone - Add All Countries Button

Using mysql shell it only takes seconds. First you have to create a Geo Zone with the description "Rest of the world", and then execute the following from the Mysql CLI: delimiter $$ CREATE PROCEDURE myProc() READS SQL DATA BEGIN DECLARE geo_zzone INT; DECLARE count_countries INT; DECLARE ...

Jump to post
  • Tue Oct 11, 2011 12:12 am
  • Replies 97
  • Views 97306

Page 1 of 1

Search found 4 matches