Post by tranconghoan » Mon Dec 12, 2011 10:20 am

Hi all,

I got a problem while trying to buy a gift certificate. Opencart doesn't allow me to checkout, it just got stuck at the Shopping Cart page.

Please check it here: http://vanduyphuong.com.vn/temporary/in ... ut/voucher

Thank yoouuuu..... :'(
Last edited by tranconghoan on Mon Dec 12, 2011 4:42 pm, edited 1 time in total.

Dầu cá omega 3: http://dongthai.vn/megacardio-omega-3-fish-oil-dau-ca
Giảm cân LIC: http://voila.vn/LIC-vien-uong-giam-can


New member

Posts

Joined
Mon Dec 12, 2011 10:15 am

Post by tranconghoan » Mon Dec 12, 2011 10:52 am

it sounds crazy, it works now, I even haven't know the reason yet. I just modified the language file and Boomm..

Dầu cá omega 3: http://dongthai.vn/megacardio-omega-3-fish-oil-dau-ca
Giảm cân LIC: http://voila.vn/LIC-vien-uong-giam-can


New member

Posts

Joined
Mon Dec 12, 2011 10:15 am

Post by tranconghoan » Mon Dec 12, 2011 10:56 am

No..... it's crazy indeed! It only go to the checkout page if I have at least one product to go with the Gift Voucher in order to check it out!! Help again, I believe the language file has no responsibility here... Please :'(

Dầu cá omega 3: http://dongthai.vn/megacardio-omega-3-fish-oil-dau-ca
Giảm cân LIC: http://voila.vn/LIC-vien-uong-giam-can


New member

Posts

Joined
Mon Dec 12, 2011 10:15 am

Post by tranconghoan » Mon Dec 12, 2011 3:00 pm

Does anyone know? :'(

Dầu cá omega 3: http://dongthai.vn/megacardio-omega-3-fish-oil-dau-ca
Giảm cân LIC: http://voila.vn/LIC-vien-uong-giam-can


New member

Posts

Joined
Mon Dec 12, 2011 10:15 am

Post by tranconghoan » Mon Dec 12, 2011 4:13 pm

Doesnt anyone know how to stop my tears.... :'(

Dầu cá omega 3: http://dongthai.vn/megacardio-omega-3-fish-oil-dau-ca
Giảm cân LIC: http://voila.vn/LIC-vien-uong-giam-can


New member

Posts

Joined
Mon Dec 12, 2011 10:15 am

Post by uksitebuilder » Mon Dec 12, 2011 4:16 pm


ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by tranconghoan » Mon Dec 12, 2011 4:44 pm

Wow.. I can smile again :laugh: Thank you, I really appreciate it!

Here is the solution for who has the same problem.

open: catalog/controller/checkout/checkout.php

find

Code: Select all

      if ((!$this->cart->hasProducts() && !empty($this->session->data['vouchers'])) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) {
change to

Code: Select all

      if ((!$this->cart->hasProducts() && empty($this->session->data['vouchers'])) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) {
Last edited by i2Paq on Mon Feb 27, 2012 7:28 pm, edited 1 time in total.
Reason: Code-tags added

Dầu cá omega 3: http://dongthai.vn/megacardio-omega-3-fish-oil-dau-ca
Giảm cân LIC: http://voila.vn/LIC-vien-uong-giam-can


New member

Posts

Joined
Mon Dec 12, 2011 10:15 am

Post by afonte » Sat Feb 11, 2012 12:02 pm

Thank you! Worked perfectly :D

New member

Posts

Joined
Thu Feb 09, 2012 10:50 pm

Post by donyeh » Sun Feb 19, 2012 8:55 am

Thanks for the tips, I've got it working.

Cheers! :D

Newbie

Posts

Joined
Tue Dec 27, 2011 11:07 am

Post by sunriser » Mon Feb 20, 2012 11:23 pm

Thanks uksitebuilder, works perfectly!

http://www.buddhalife.nl


New member

Posts

Joined
Sun Dec 18, 2011 8:03 pm


Post by Charlie-- » Mon Feb 27, 2012 7:09 am

@uksitebuilder - Thank you for this fix - It was driving me mad. (damn that ! in the code)

Just started with OpenCart and I must say I am really liking it so far. (Bit of a learning curve for me as I am more used to perl) - Yes there seem to be some bugs (but all programs have them) the main point is the ease of fixing them & the community support, and you guys have got it covered. Keep up the great work, thanks again.

User avatar
Newbie

Posts

Joined
Mon Feb 27, 2012 7:03 am
Who is online

Users browsing this forum: No registered users and 20 guests