Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Options as Images for MS2 v1.2


libman

Recommended Posts

Hi Folks,

 

I'm attempting to add the mod Options as Images for MS2 v1.2. Everything was going well until I hit the last step in the directions which I have placed between the astericks you see below. I do know my line numbers(Dreamweaver are not in sync with these directions.

 

Thanks so much for the help...

 

********************************************************************

 

Add 2 further lines at around lines 165 and 170 as demonstrated in the following code by the "//Options as Images" comments:-

 

 

<td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>

<td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>

</tr>

<?php

}

?>

</table>

<?php

 

}

 

//Options as Images. Add the curly bracket as shown on the next line

}

?>

 

<?php

//Options as Images. This whole php clause needs to be added

if (OPTIONS_AS_IMAGES_ENABLED == 'true') include ('options_images.php');

?>

 

**********************************************************

Thanks,

Libman

Link to comment
Share on other sites

  • 1 month later...

This part already exists in productionfo.php i think

 

<td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>

<td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>

</tr>

<?php

}

?>

</table>

<?php

 

}

 

 

Just add

 

<td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>

<td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>

</tr>

<?php

}

?>

</table>

<?php

 

}

 

 

Just add below it

 

//Options as Images. Add the curly bracket as shown on the next line

}

?>

 

<?php

//Options as Images. This whole php clause needs to be added

if (OPTIONS_AS_IMAGES_ENABLED == 'true') include ('options_images.php');

?>

 

 

I think thats what i did.... i have errors with enabling the enlarge option..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...