X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   4.4.1 Customization for internal staff website (https://forum.x-cart.com/showthread.php?t=58486)

Isleman 03-16-2011 01:05 AM

4.4.1 Customization for internal staff website
 
I need to develop a new website on 4.4.1 which needs to fulfill some specific requirements and I would like to get your input please .
The website is selling only to the company staff at discounted prices so the requirements are :

1.New users can register/create a profile only if they have the proper user_ name format which is something like e+6 digits
2.Shipping adress should be set only to some company locations. (the user will buy the product but he needs to indicate which branch is he collecting from)
3.Products/cateegories and prices are not visible at all until a profile has been created and succesfully logged to that profile.

I will apreciate your input on this and how can be achieved . Thank you.

cflsystems 03-16-2011 02:14 AM

Re: 4.4.1 Customization for internal staff website
 
1. You will have to place some js for client side check for proper username format and modify register.php for server side check
2. I think best would be to have additional user profile field with user's location and show shipping depending on that location
3. This can be done with an if statement checking if user is logged in


All times are GMT -8. The time now is 01:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.