compatibility between Pavilion, Opencart 2 & module Ajax Quick Checkout for OC2 / Error Undefined variable: template in …

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart Themecompatibility between Pavilion, Opencart 2 & module Ajax Quick Checkout for OC2 / Error Undefined variable: template in …

This topic has been marked as resolved.

Hello ThemeBurn,

I tried to set up Ajax quick check out extension in a local env as you described in the following link:
http://support.themeburn.com/topic/ajax-quick-checkout

I m getting the following error when trying to checkout:
Error code:
Notice: Undefined variable: template in /home/users6/b/boutique/www/preprod/catalog/controller/module/d_quickcheckout.php on line 644
Warning: require(/catalog/view/theme): failed to open stream: No such file or directory in /home/users6/b/boutique/www/preprod/vqmod/vqcache/vq2-system_modification_system_engine_loader.php on line 42
Fatal error: require(): Failed opening required ‘/home/users6/b/boutique/www/preprod/catalog/view/theme/’ (include_path=’.:/home/temporaire/upload:/usr/local/lib/php/:/usr/local/lib/ZFramework’) in /home/users6/b/boutique/www/preprod/vqmod/vqcache/vq2-system_modification_system_engine_loader.php on line 42

I tried to set up Pavilion theme before the AQC extension, but still the same error.
I think there could be something missing in the ajax_quickcheckout_pavilion_OC2.zip file or maybe something missing in the vqmod file?

Additional info:
I tried to guess what was missing, i don’t know if this could help:
If you copy the file field.tpl from folder catalog/view/theme/default/template/d_quickcheckout/
to folder catalog/view/theme/pavilion/template/d_quickcheckout/
the checkout page is loaded

How to replicate the problem:
Starting from default opencart store (2.0.1.1) + Installation of vqmod + installation of Ajax quick checkout: I was able to add products and checkout using the new extension.
Then i installed Palilion Theme & uploaded compatibility files ajax_quickcheckout_pavilion_OC2.zip in my test env as you suggested.

I set up a test env remotly , you will find bellow info you need to access to this environment:

Environment context:
Opencart 2.0.1.1
Pavilion 1.2.5
Link to the extension:
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=9132&filter_search=ajax%20quick%20checkout

Thank you for your help,

April 19, 2015 at 12:45 am #40154

Hi,

You had to copy module custom templates to pavilion theme folder. We’ve done this for you and now the checkout is working.

BR,
ThemeBurn team

April 20, 2015 at 2:44 pm #40182

Hello,

Thank you for your feedback.

1) Could you please confirm that the only change you made on your side was to copy all the files from
/view/theme/default/template/d_quickcheckout/
to pavilion folder catalog/view/theme/pavilion/template/d_quickcheckout/ ?

I will need to replicate the changes in my final installation.

2) I made this change in my local env, but there’s something weird happening with the pop up window in my local env compared to the remote env (please refer to attached screenshots).
In local env it’s appearing directly within the main page and not as pop up when clicking on button “Login”.
By chance, do you have any idea why it’s not displayed like in the remote env?
No need to spend time on this if you don’t know.

T

April 20, 2015 at 9:06 pm #40228

Hi,

1) You need to copy all files from PACKAGE/upload/catalog/view/theme/default/template/ to STORE_ROOT/catalog/view/theme/pavilion/template/. Do no forget to apply the compatibility fix then.

2) There is an option to show login form in a modal dialog. This is feature in AQC Settings > Design. Have you checked it?

3) Here is a small tweak for the popup window:

#option_login_popup .modal-dialog {
  width: 400px;
}

Just add these styles from the Pavilion CP > Theme Settings > Custom > Custom Stylesheet text field.

BR,
ThemeBurn team

April 28, 2015 at 12:07 pm #40357
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.