instalator Posted April 6, 2008 Posted April 6, 2008 Hi. I'm new here. Please help me. I want to make only my clients to make oredrs (only perssons who I will give account to make order, visitors just view the product). I want only admin to make account. What I must to do. I'm sorry for my bad english. I hope u can undersend me. Thank you.
Guest Posted April 6, 2008 Posted April 6, 2008 There is a contribution that allows you to add customers via the admin but I don't know what it is called, searching will find it. Then on the customer side you remove everything to do with creating an account but leave the login page. That way they can login but can't create an account.
instalator Posted April 6, 2008 Author Posted April 6, 2008 Thank you. But, how I can remove "add to card" button? to use this script only for presentation, not for online shop?
Guest Posted April 6, 2008 Posted April 6, 2008 You can comment it out such as <?php //echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> with the // but then no one will be able to purchase. If you want only customers that you created be able to purchase then you would have to do an if else statement. If not a customer { } else { <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> } so that only customers would see the buy now button.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.