Warning on address change in My Account

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeWarning on address change in My Account

This topic has been marked as resolved.

Hi.

(sorry for my English, I’m French and I learn English since only 3 months – I’m old man :-) )

I use OpenCart 1.5.2.1 with 2 languages (English and French) on Localhost (to try and test before upload) without any add-ons, with default database. I have the Shopicca theme 1.0.12.

I have a problem when I want to change “my Address” in “my account” like a customer.

Only when I change the country from the dropdown containing all the countries.

I see the Popup “Warning” but All it’s fine with your theme except this error.

The Warning said I must insert the “$controller etc” Init in index.php and I must to make “enable” the template (the Shopicca Theme CP).

but all it’s ok. The theme is Enable and in the Index.php I see the $controller etc.

Perhaps I have a mistake with my “translation” for the french language?

Strange :-)

If you have an idea…

Thanks in advance.

Have a good day

Thibaut

  • This reply was modified 4427 days ago by  thibaut974. Reason: (add the notify me option)
  • This reply was modified 4427 days ago by  thibaut974.
  • This reply was modified 4427 days ago by  thibaut974. Reason: Add Shopicca Version and change some words :-)
March 24, 2012 at 8:34 am #7453

It’s me again.

For testing, always on localhost, I have installed openCart 1.5.2.1 and Shopicca 1.0.12 only in english without any add-ons.

The “my Account – Modify your address book entries” + change the country from “dropdown countries” work fine with the default theme but I have the “warning” pop-up with the Shopicca theme.

I modified the Index.php and I activated the Shopicca Theme CP. The theme works fine except this feature.

Hope you can reproduce the same mistake :-)

Sorry to disturb you with my questions.

Have a good day

Best regards

Thibaut

March 24, 2012 at 9:24 am #7457

Hi,

this is indeed a shoppica bug. To fix it, open catalog/view/theme/shoppica/template/account/address_form.tpl, GoTo line 94 an replace:

     <select id="country_id" name="country_id" id="country_id" class="required" onchange="$('select[name=\'zone_id\']').load('index.php?route=account/address/zone&country_id=' + this.value + '&zone_id=<?php echo $zone_id; ?>');">
with

     <select id="country_id" name="country_id" class="required" onchange="$('select[name=\'zone_id\']').load('index.php?route=account/address/zone&country_id=' + this.value + '&zone_id=<?php echo $zone_id; ?>');">

This should fix your issue.

March 26, 2012 at 12:31 pm #7502

Hi.

It works now.

Thanks a lot again for your Support.
You are the best :-)

Have a good day.

Best Regards

Thibaut

March 26, 2012 at 12:38 pm #7504

Glad we’ve helped, mate :)

Best,
ThemeBurn team

March 26, 2012 at 3:26 pm #7507
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.