Jump to content

sicanada

Members
  • Content count

    11
  • Joined

  • Last visited

  1. Hi ; I'm tring to add a meta tag to product reviews for robots, noindex, nofollow. How can I do this. The default for all pages is index, follow. thanks www.siservices.com
  2. Hello. I have this installed on 6.2 Creloaded. My questions is it seems like it is working, and I did not make any changes to the html_output.php. Is this all I need to remove the Session ID's SE from Google, MSN & Yahoo when the come to dance on my site? I see something called spiders.txt. Do I require this file? SI
  3. sicanada

    Ask a Product Question

    Hello. I am having some issues with Ask A Product Question Contrib with Creloaded. I am very new at the oscommerce game. I think this is the most important contrib that I have to add. Everytime I select ask a product question it goes to a blank page. I think it is using the BTS template system. If anyone can help with this that would be grat or PM me. www.siservices.com
  4. sicanada

    Seach Engine Friendly URL Support

    Hello; My site is indexed on google and on some of the others. But the problem that I am having is when it click on the search result it brings me to another product or product not found. Can anyone help with this. Thanks SI Services Inc http://shop.siservices.com
  5. sicanada

    [contribution] Total B2B

    THIS IS MY CODE. function display_price($products_id, $products_price, $products_tax, $quantity = 1) { global $customer_id; $query_price_to_guest = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'ALLOW_GUEST_TO_SEE_PRICES'"); $query_price_to_guest_result = tep_db_fetch_array($query_price_to_guest); if (($query_price_to_guest_result['configuration_value']=='true') && !(tep_session_is_registered('customer_id'))) { $query_guest_discount = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'GUEST_DISCOUNT'"); $query_guest_discount_result = tep_db_fetch_array($query_guest_discount); $customer_discount = $query_guest_discount_result['configuration_value']; if ($customer_discount >= 0) { $products_price = $products_price + $products_price * abs($customer_discount) / 100; } else { $products_price = $products_price - $products_price * abs($customer_discount) / 100; } return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } elseif (tep_session_is_registered('customer_id')) { $query_A = tep_db_query("select m.manudiscount_discount from " . TABLE_MANUDISCOUNT . " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = 0 and m.manudiscount_customers_id = '" . $customer_id . "' and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id"); $query_B = tep_db_query("select m.manudiscount_discount from " . TABLE_CUSTOMERS . " c, " . TABLE_MANUDISCOUNT . " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = c.customers_groups_id and m.manudiscount_customers_id = 0 and c.customers_id = '" . $customer_id . "' and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id"); $query_C = tep_db_query("select m.manudiscount_discount from " . TABLE_MANUDISCOUNT . " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = 0 and m.manudiscount_customers_id = 0 and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id"); if ($query_result = tep_db_fetch_array($query_A)) { $customer_discount = $query_result['manudiscount_discount']; } else if ($query_result = tep_db_fetch_array($query_B)) { $customer_discount = $query_result['manudiscount_discount']; } else if ($query_result = tep_db_fetch_array($query_C)) { $customer_discount = $query_result['manudiscount_discount']; } else { $query = tep_db_query("select g.customers_groups_discount from " . TABLE_CUSTOMERS_GROUPS . " g inner join " . TABLE_CUSTOMERS . " c on g.customers_groups_id = c.customers_groups_id and c.customers_id = '" . $customer_id . "'"); $query_result = tep_db_fetch_array($query); $customers_groups_discount = $query_result['customers_groups_discount']; $query = tep_db_query("select customers_discount from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $query_result = tep_db_fetch_array($query); $customer_discount = $query_result['customers_discount']; $customer_discount = $customer_discount + $customers_groups_discount; } if ($customer_discount >= 0) { $products_price = $products_price + $products_price * abs($customer_discount) / 100; } else { $products_price = $products_price - $products_price * abs($customer_discount) / 100; } return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } else { return PRICES_LOGGED_IN_TEXT; } } function display_price_nodiscount($products_price, $products_tax, $quantity = 1) { global $customer_id; $query_price_to_guest = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'ALLOW_GUEST_TO_SEE_PRICES'"); $query_price_to_guest_result = tep_db_fetch_array($query_price_to_guest); if ((($query_price_to_guest_result['configuration_value']=='true') && !(tep_session_is_registered('customer_id'))) || ((tep_session_is_registered('customer_id')))) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } else { return PRICES_LOGGED_IN_TEXT; } } //TotalB2B end
  6. sicanada

    [contribution] Total B2B

    In which file? Hozone. thanks
  7. sicanada

    [contribution] Total B2B

    Hello; I have read through all the posts for currencies.php the has an error for line 72. I am a newbie with Oscommerce and as well I am trying to use the featured_products contribution. Any sugesstions. thanks http://shop.siservices.com :-"
  8. Hello; I would like to add in the product_info.php the Product Model and Product Name and Description. How can this be done. I have tried to use this contrb. but all what happens is I get the default that is specified in /english/header_tag.php? Any suggestions?
  9. Hello; I would like to add in the product_info.php the Product Model and Product Name and Description. How can this be done. I have tried to use this contrb. but all what happens is I get the default that is specified in /english/header_tag.php? Any suggestions?
×