Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

custom control panel

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-04-2007, 06:06 AM
 
Kiwami Kiwami is offline
 

Advanced Member
  
Join Date: Nov 2004
Location: Miami, FL
Posts: 69
 

Question custom control panel

ok i have the wierdest request ever from a potential client. I showed her x-cart and she likes it and stuff.. fine.. She wants a custom control panel, dumbed out beyond our wildest dreams.. All she wants to see is - add item description, category, price, photos and weight. I guess i can understand 'why' .. is this even possible? I have the tools i know i'd need to do this type of database work but willl x-cart choke ? there are a lot of things that get shot into tables all over the place i'm assuming so i'm guessing its not as simple as appending to the products and images table ..any advice ?
__________________
Follow me on twitter www.twitter.com/kiwami
@Kiwami
X-Cart Gold 4.4.3 | Cpanel | Dedicated Server
Reply With Quote
  #2  
Old 06-04-2007, 08:13 AM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Re: custom control panel

Quote:
Originally Posted by Kiwami
ok i have the wierdest request ever from a potential client. I showed her x-cart and she likes it and stuff.. fine.. She wants a custom control panel, dumbed out beyond our wildest dreams.. All she wants to see is - add item description, category, price, photos and weight. I guess i can understand 'why' .. is this even possible? I have the tools i know i'd need to do this type of database work but willl x-cart choke ? there are a lot of things that get shot into tables all over the place i'm assuming so i'm guessing its not as simple as appending to the products and images table ..any advice ?

why not get her to log in as fulfillment staff, and then just add in what she needs to the fulfillment view?
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
  #3  
Old 06-04-2007, 08:36 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: custom control panel

You can edit skin1/main/product_details.tpl to modify the adding/modifying product page.

You can modify any field that she doesn't want to see, to become a hidden field (i.e. <input type="hidden" name="whatever" value="defaultVal" />) with a default value when adding a product, or a hidden field with the selected value when updating a product.

Using this method, you don't need to modify any of the php files or have any additional data integrity checks.

Jon
Reply With Quote
  #4  
Old 06-04-2007, 09:08 AM
 
Kiwami Kiwami is offline
 

Advanced Member
  
Join Date: Nov 2004
Location: Miami, FL
Posts: 69
 

Default Re: custom control panel

thanks for the quick replies.. i'm trying to make the fulfillment staff view 'her page' .. that was a great idea.. thanks. Now i'm trying to enable the products menu option on the fulfillment staff view (it only shows management, profile and help) .. i pasted the url for the add products page from my login into hers (firefox to i.e) and of course is says access denied as well. I'm guessing this is just some permissions that need to be adjusted via smarty..
__________________
Follow me on twitter www.twitter.com/kiwami
@Kiwami
X-Cart Gold 4.4.3 | Cpanel | Dedicated Server
Reply With Quote
  #5  
Old 06-04-2007, 12:13 PM
 
Kiwami Kiwami is offline
 

Advanced Member
  
Join Date: Nov 2004
Location: Miami, FL
Posts: 69
 

Default Re: custom control panel

* Update

It was a lot easier to knock a couple if statements into the relevant areas

{if $login ne 'master' }

{else}


{/if}

I should have known there was a smarty / x-cart way to do this.. man i love this product..
__________________
Follow me on twitter www.twitter.com/kiwami
@Kiwami
X-Cart Gold 4.4.3 | Cpanel | Dedicated Server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:26 PM.

   

 
X-Cart forums © 2001-2020