chrometweaks.org

Whats the best iPage web host/domain?

Click Here To View All Answers...


First of all Whats the best iPage web host/domain? Thanks in advance for any answer or 2. My other question... How do I get the weight to show up on my product Info page?.

Any help would be appreciated...

Comments (18)

I would like to know the answer too. Anyone here know what is the right answer to your question. I'll do some poking around and get back to you if I find an anything. You should email the people at iPage as they probably could give you help..

Comment #1

Okay. Everything was fine until I went to admin and updated a weight on one item. Now I have the unit type on the screen but the actual number is gone..

Any clue as to why?..

Comment #2

Did the same thing now , but weight was changed successfully.

What weight number you used ?

Comment #3

I figured it out. The item I updated had a UPC number on it and the others did not. When I took off the UPC the weight came back..

THanks for the help...

Comment #4

How do I get the weight to show up on my product Info page?.

Any help would be appreciated...

Comment #5

To line $product_info_query = tep_db_query("..................

Add.

P.products_weight.

After that below line } else {.

$products_name = $product_info['products_name'];.

}.

Add.

$products_weight = ceil($product_info['products_weight']);.

All part of this code looks like this in my file.

$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_weight, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from "TABLE_PRODUCTS" p, "TABLE_PRODUCTS_DESCRIPTION" pd where p.products_status = '1' and p.products_id = '"(int)$HTTP_GET_VARS['products_id']"' and pd.products_id = p.products_id and pd.language_id = '"(int)$languages_id"'");.

   $product_info = tep_db_fetch_array($product_info_query);.

   tep_db_query("update "TABLE_PRODUCTS_DESCRIPTION" set products_viewed = products_viewed+1 where products_id = '"(int)$HTTP_GET_VARS['products_id']"' and language_id = '"(int)$languages_id"'");.

   if ($new_price = tep_get_products_special_price($product_info['products_id'])) {.

     $products_price = '<s>'$currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']))'</s> <span class="productSpecialPrice">'$currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id']))'</span>';.

   } else {.

     $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));.

   }.

   if (tep_not_null($product_info['products_model'])) {.

     $products_name = $product_info['products_name']'<br><span class="smallText">'$product_info['products_model']'</span>';.

   } else {.

     $products_name = $product_info['products_name'];.

   }.

   $products_weight = ceil($product_info['products_weight']);.

After that I changed PRICE line to this.

<td class="pagePrice" align="right" valign="top"><?php echo $products_price; ?><br><?php echo $products_weight; ?> gr.</td>.

Works for me..

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.