Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

is there amod to Hide a Catagory from cust


Luvz2drv

Recommended Posts

Create a copy of the admin folder , call it a something like "customer_admin" (include all files and subfolders from the original admin

you can then telll your customers to go to:

www.yoursite.com/customer_admin

 

 

You can then edit the pages as needed to remove any links to areas you dont want people to see.

 

 

 

example: let's you don't want people to see the categories - products section

 

 

I havn't had time to look at how the index.php works

so I can't tell you how to remove the links in that page

here is a work around.....

a) make a backup copy of index.php call it somethin different indexold.php

B) in your web browser go to your admin section index.php

c) I us IE to save that page to your computer as index.php (web page only no images etc)

you may have to remove the .htm that IE puts at the end of the filename index.php.htm

 

d) you can now edit this file to remove any links to sections you don't want people to see and upload it back to the server

 

 

open the file includes/column_left.php in your text editor

1) comment out any boxes you don't want people to see

//require(DIR_WS_BOXES . 'configuration.php');

// require(DIR_WS_BOXES . 'catalog.php');

 

send this bac to the server and test...

 

NOTE this is not secure any customer that knows OS commerce can easily work away around your changes

to stop this...

delete or rename files you don't want them to see

eg categories.php rename or delete

 

also rename or password protect your original admin section... you still need a copy of the original admin section so you can make any changes to your site.

 

 

Aloha

 

 

 

 

 

 

 

 

What i am looking for is a mod or a way to hide cat and or products from users..

 

I want them to me basicly admin only products so I can manuly make up invoice

any help on this one - thanks

 

Jonathon

Link to comment
Share on other sites

What i am looking for is a mod or a way to hide cat and or products from users..

 

I want them to me basicly admin only products so I can manuly make up invoice

IMHO the most bullet-proof mod for both products and categories is Hide products from customer groups for SPPC. A much simpler one for categories only is the "classic"

Enable & Disable Categories

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...