Zen Cart Logo
Forums / All Other Contributions/Addons / Help with Module "Additional Product Image"

Help with Module "Additional Product Image"

Views: 712

Results 1 to 7 of 7
3 Jun 2011, 10:34 PM
#1
jewelsexports avatar

jewelsexports

New Zenner

Join Date:
Jul 2009
Location:
Jaipur, India
Posts:
12
Plugin Contributions:
0

Help with Module "Additional Product Image"

Hello All, I was installing the module called "Additional Product Image" and while doing that it all went fine but the last step was -

Then copy the below code to your tpl_product_info_default.php file which is located in includes/templates/YOUR_TEMPLATE/templates/ (YOUR_TEMPLATE is your template name) or includes/templates/template_default/templates/ to the location you want the Additional Images to display.

<?php require($template->get_template_dir('/tpl_modules_additional_imagess.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_imagess.php'); ?>

but i did'nt found any tpl_product_info_default.php file in that directory ? How this can be fixed. Please help me ASAP.

Thanks in advance :smile:

4 Jun 2011, 6:16 AM
#3
jewelsexports avatar

jewelsexports

New Zenner

Join Date:
Jul 2009
Location:
Jaipur, India
Posts:
12
Plugin Contributions:
0

Re: Help with Module "Additional Product Image"

kobra:

You create the edited file and upload to your template/templates directory and create if it doe not exist

https://www.zen-cart.com/tutorials/index.php?article=36
https://www.zen-cart.com/tutorials/index.php?article=346

I made a new file with name tpl_product_info_default.php and uploaded to the directory includes/templates/MY_TEmplate/templates but nothing happe after that also :( I really need to install this mod renaming pictures and uploading takes time.

PS - I am very beginner at these php and coding would love your help.

:smile:

4 Jun 2011, 6:49 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help with Module "Additional Product Image"

Post the code from your edited file

4 Jun 2011, 7:53 AM
#5
jewelsexports avatar

jewelsexports

New Zenner

Join Date:
Jul 2009
Location:
Jaipur, India
Posts:
12
Plugin Contributions:
0

Re: Help with Module "Additional Product Image"

<?php  require($template->get_template_dir('/tpl_modules_additional_imagess.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_imagess.php'); ?>

This is the code i wrote on the blank file named tpl_product_info_default.php

Thanks a lot for your quick reply. Will be waiting for your reply.

4 Jun 2011, 9:47 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help with Module "Additional Product Image"

This is the code i wrote on the blank file named tpl_product_info_default.php
Blank File???
It is supposed to be added to a copy of the file in the location in the file where you want the images

Re-read the tutorials and the module instructions

4 Jun 2011, 8:32 PM
#7
jewelsexports avatar

jewelsexports

New Zenner

Join Date:
Jul 2009
Location:
Jaipur, India
Posts:
12
Plugin Contributions:
0

Re: Help with Module "Additional Product Image"

Hello Kobra, I would really appreciate if you would put the code for me. I dont know much about this all coding. :cry:

Please help me my friend.

Best Regards