Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Must select option


100asa

Recommended Posts

$products_attributes = tep_db_query("select popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . $HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . $languages_id . "'");
  if (tep_db_num_rows($products_attributes)) {
    $products_attributes = '1';
  } else {
    $products_attributes = '0';
  }
//BoF CB Show must error messages include any must select msg
if ($messageStack->size('product_info') > 0) {
?>
       
               output('product_info'); ?>

 

where it goes put into product_info?

and the pice of code in application top???

Skype: centoasa

Skype: remigioruberto

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...