Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

empo

Archived
  • Posts

    98
  • Joined

  • Last visited

Posts posted by empo

  1. Hi ,

    Thanks for the great contrbution I'll be waiting for a long to it.

    So,in my site how can I modify the output of function that will display the categories in the select field "Products Category:" so that the user can select it using radio buttons?or,what about creating a direct link that will preselect the category chosen from the customer in this add new product form?

    Any help would be greatly appreciated :'(

     

    problemje3.th.jpg

    You need to create function (for example you can look at /includes/function/html_output.php)

    that will do it and replace code at "account_add.php:353" tep_draw_pull_down_menu with your function

  2. There new sql command in readme file

     

    #INSERT INTO `address_book` VALUES (address_book_id, 0, 'm', '', 'Administrator', 'Administrator', 'Administrator', 'Administrator', 'Administra', 'Administrator', 'Administrator', 176, 0);

     

    this one solve the problem in admin page

  3. 1) probably some calls to admin section i will recheck code

    2) yes possible, green and red dots it`s only for indication for customer.

    only adminisrtrator have ability to approve product.

    for all your mistakes and other check manual and also u can see how demo shop works...

  4. 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by pd.products_name' at line 1

     

    select p.products_id,p.customer_id,c.customers_firstname,c.customers_lastname, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status from products p, customers as c , products_description pd, products_to_categories p2c where p.products_id = pd.products_id and c.customers_id = p.customer_id and pd.language_id = '4' and p.products_id = p2c.products_id and p.customer_id = order by pd.products_name

     

    [TEP STOP]

    What's the wrong ?

     

    read manual

     

    p.customer_id =???

  5. @Ғяαпқ just replace with this one this should solve quontety problem

     

     case 'add_products' :						   
    
    
    
    						  $products_count=explode("::",$_POST['recid']);
    						  $products_qty = explode("::",$_POST['ammount']);
    						  for ($i = 0, $n = count($products_count); $i < $n-1; $i++) {
    								  $cart->add_cart($products_count[$i], $products_qty[$i], $HTTP_POST_VARS['id']);															 
    							  }								  
    						  tep_redirect(tep_href_link($goto,''));
    						  break;
    						  }

  6. No I sold only one copy ;)

    Why I dont want to distribute this one?

    Answer very simple -I asked ppl not to remove copyrights and they arent listen. So after that i saw couple of shops with pcpro without any notice of copyright I decide to stop distirbution of all my new developments...

×
×
  • Create New...