Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

goutbouyo

Archived
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Real Name
    caroline

goutbouyo's Achievements

  1. Hi, I insert the end date for the flash promotion, but when it should be finished, the button stay green ... Is it normal ???
  2. I speak about the title which is in the blue bar of internet explorer when I click on a category. For the products, that's working but for the category title, that doesn't work.
  3. Yes it's that : I added a title in admin-> catalog on a category. But when I go to this category page on my shop, I can see the defaut title in the the internet bar at the top of the screen(for IE : the blue bar). The default title is : define('HEAD_TITLE_TAG_DEFAULT', 'Bienvenue sur ma boutique);
  4. Hello, I put a title for a categorie but when I go to my shop at this categorie, I can see the defaut title of the shop(the first page title). Can you help me please ???
  5. Ok thanks for your good explication !!! I will try to make something but I think that if you do this contribution it will be better than me ! Can you say me if you do that one day ???
  6. It's what I'm trying to do ... But I don't understand why there are two tables for the price : *products_group_prices_cg1 *products_groups The good prices are in the second but in index.php the first table is called ... Can you explain me please ???
  7. Thanx for your help !!! I will try to build something whose allow to hide products myself ....
  8. Hello, I have installed this very good contribution ant I have two questions : * I don't understand this function : "Switch off alert for authentication" in the admin part in each customer account. *Is there a contribution whose can hide products for a groups ???
  9. You're right : the field products_hide_from_groups isn't getting filled. But if I put a valor myself, it's doesnt work no longer ... Another question : With the B2B contribution (without hide price), is it normal that in the products' list and in the what's new box the price are 0 or a number like 325 for a product whose cost 50???
  10. Thanks it's good now !!! But I have another problem ... The function whose hide the products doesn't work, I think it's that : //--BOF hide products from group--- $group_id = tep_get_customer_groups_id($customer_id); $listing_sql .= " and find_in_set('".$group_id."', products_hide_from_groups) = 0 "; //--EOF hide products from group--- Can you help me please ?
  11. <?php // ---BOF--Hide product from groups ------------------------------------// ?> <tr align="top"><td><? echo TEXT_HIDE_PRODUCTS_FROM_GROUP; ?></td> <td class="dataTableContent"> <table border="0" cellpadding="0" cellspacing="0"> <?php #Check which groups should be hidden if ($product_id != NULL){ $product_hide_from_group_query = tep_db_query("select products_hide_from_groups from ".TABLE_PRODUCTS." where products_id =".$HTTP_GET_VARS['pID']); $hide_these_products = tep_db_fetch_array($product_hide_from_group_query); $hide = explode(',',$hide_these_products['products_hide_from_groups']); } $customers_groups_query = tep_db_query("select distinct customers_groups_id, customers_groups_name from " . TABLE_CUSTOMERS_GROUPS . " where customers_groups_id != '" . 0 . "' order by customers_groups_id"); $i=1; while ($customers_groups = tep_db_fetch_array($customers_groups_query)) { foreach($hide as $h){ if($h == $customers_groups['customers_groups_id']){ $check_hidden = true; break; }else{ $check_hidden = false; } } #print the checkbox field echo '<tr class="dataTableContent"><td>'. ($i).'. '. tep_draw_checkbox_field( 'hide[' . ($i++) . ']', $customers_groups['customers_groups_id'] , $check_hidden) . ' ' . $customers_groups['customers_groups_name'].'</td></tr>'; }#End of while ?> </table> </td></tr> <?php //---EOF--Hide product from groups -----------------------------------// ?>
  12. Hello, I have installed B2B and hide_products but I have this error in the admin part when I edit the product : Warning: Invalid argument supplied for foreach() in c:\web\easyphp1-8\www\catalog\admin\categories.php on line 558 It's near "Select groups to hide"
  13. I have another problem in the admin part when I edit the product : Warning: Invalid argument supplied for foreach() in c:\web\easyphp1-8\www\catalog\admin\categories.php on line 558 It's near "Select groups to hide" My code : foreach($hide as $h){ if($h == $customers_groups['customers_groups_id']){ $check_hidden = true; break; }else{ $check_hidden = false; } }
  14. I have found the solution. With my B2B version there is : CUSTOMER_GROUPS In this contribution it's : CUSTOMER_GROUP
×
×
  • Create New...