Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why is not the product code


xareelat

Recommended Posts

I know little english sory.Why is not the product code. I marked in the image problem

 

as.JPG

 

 

In what page is this displayed?

Link to comment
Share on other sites

products_id not view.

 

product_info.php code

<?php
   }
?>
              </td>
                  <td width=1 bgcolor=#CFCFCF></td>
                  <td width=427 valign=top >
                   <table cellspacing=0 cellpadding=0 width=300 align=center> 
                    <tr><td height=10 colspan=2></td></tr>
                    <tr><td colspan=2 class=cy2><b><?= strtoupper($products_name); ?></b><br><br></td></tr>
                    <tr>
                      <td colspan=2><b>Ürün No :</b>  <font color="black"><?= $products_id; ?><br>
                        <br class=px4>

Link to comment
Share on other sites

products_id not view.

 

product_info.php code

<?php
   }
?>
              </td>
                  <td width=1 bgcolor=#CFCFCF></td>
                  <td width=427 valign=top >
                   <table cellspacing=0 cellpadding=0 width=300 align=center> 
                    <tr><td height=10 colspan=2></td></tr>
                    <tr><td colspan=2 class=cy2><b><?= strtoupper($products_name); ?></b><br><br></td></tr>
                    <tr>
                      <td colspan=2><b>Ürün No :</b>  <font color="black"><?= $products_id; ?><br>
                        <br class=px4>

 

 

try to change this:

 

<?= $products_id; ?>

 

to this:

 

<?= strtoupper($products_id;); ?>

Link to comment
Share on other sites

try to change this:

 

<?= $products_id; ?>

 

to this:

 

<?= strtoupper($products_id;); ?>

 

 

failed

Parse error: syntax error, unexpected ';' in /public_html/product_info.php on line 210

 

this code line 210

                      <td colspan=2><b>Ürün No :</b>  <font color="black"><?= strtoupper($products_id;); ?><br>

Link to comment
Share on other sites

Damn i`m blind!

 

try this:

 

<td colspan=2><b>Ürün No :</b>  <font color="black"><?= strtoupper($product_info['products_model']); ?><br>

 

or

 

<td colspan=2><b>Ürün No :</b>  <font color="black"><?= $product_info['products_model']; ?><br>

 

still the same. problem continues. sory :(

?>
              </td>
                  <td width=1 bgcolor=#CFCFCF></td>
                  <td width=427 valign=top >
                   <table cellspacing=0 cellpadding=0 width=300 align=center> 
                    <tr><td height=10 colspan=2></td></tr>
                    <tr><td colspan=2 class=cy2><b><?= strtoupper($products_name); ?></b><br><br></td></tr>
                    <tr>
                      <td colspan=2><b>Ürün No :</b>  <font color="black"><?= strtoupper($product_info['products_model']); ?><br>					   
                        <br class=px4>
<?

Link to comment
Share on other sites

Did u try this:

 

 

<td colspan=2><b>Ürün No :</b>  <font color="black"><?= $product_info['products_model']; ?><br>

 

I'll cry now. not view.There are more problems. I would not bother you. sorry

 

note: Hosting service may be problems

Link to comment
Share on other sites

I'll cry now. not view.There are more problems. I would not bother you. sorry

 

note: Hosting service may be problems

It may be in part due to using the shortened version <?= instead of <?php

 

Probably not, because you would be having a multitude of problem and not just the one, if it were the case.

 

I would try

<?php echo $product_info['products_model']; ?>

once just to eliminate that possibility.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

I'll cry now. not view.There are more problems. I would not bother you. sorry

 

note: Hosting service may be problems

 

then try:

 

<?php echo $product_info['products_model']; ?>

 

 

And one more question: did u activated the model show option in admin?

 

Configuration -> Product Listing

 

look for: Product Listing

 

Set it to some number!

Link to comment
Share on other sites

It looks like u have no record in the DB in module field!

 

find one product in your admin site check push the button edit and check if there is products model inside, if not write something in and save it then open the product to edit again and see if the module`s name is inside the field.

 

If not then check your DB if there is an record of models name if note then the problem is at the admin side!

Link to comment
Share on other sites

It looks like u have no record in the DB in module field!

 

find one product in your admin site check push the button edit and check if there is products model inside, if not write something in and save it then open the product to edit again and see if the module`s name is inside the field.

 

If not then check your DB if there is an record of models name if note then the problem is at the admin side!

 

that happened to have done at the end. Thank you very much for your help

 

http://muzikbankelektronik.com/product_info.php?products_id=129

Link to comment
Share on other sites

yesI'll do manually. Thank you very much. but the url would not work if id is the product code is automatically

 

 

I did not get this part - but the url would not work if id is the product code is automatically

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...