Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11755
Latest: AnkitAbraham
New This Month: 18
New This Week: 2
New Today: 2
Stats
Total Posts: 37036
Total Topics: 6519
Most Online Today: 57
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: How To: Restrict Options When Adding Items  (Read 3144 times)

0 Members and 1 Guest are viewing this topic.

Offline frustrated

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
How To: Restrict Options When Adding Items
« on: May 11, 2011, 10:19:27 am »
Hi all,

With the new store feature that allows you to have users sell items, I figured I'd drop this little hint...

If you want to restrict what people can or can't do when posting something for sale, like when you don't want people being able to set shipping, etc. just do this:

1.) Find the "additem" function in Store2.php

2.) Place style="display:none;" within the <tr> tag of any option you want to disappear! They're named pretty clearly in the code, so you'll be able to spot which lines of code relate to which options.


It's that simple.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3007 Views
Last post May 18, 2008, 05:00:34 pm
by SMFHacks
0 Replies
1896 Views
Last post October 13, 2008, 07:49:00 am
by darkorical
1 Replies
3016 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
4183 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
3118 Views
Last post August 10, 2012, 08:51:49 am
by amwebby

+- Recent Topics

Database error on a single child category by Kobytoo
July 21, 2016, 02:04:26 pm

Onclick javascript help by shuban
July 18, 2016, 12:36:39 pm

Finding the sum of a column MYSQL by shuban
July 11, 2016, 11:50:54 am

should my orders show to a logged out user? by SMFHacks
July 10, 2016, 05:03:08 am

Finding the last iteration in a while query by shuban
July 09, 2016, 02:28:39 pm

Auto-incrementing issue? by shuban
July 06, 2016, 01:25:34 pm

Sending an email to expired group members by shuban
July 04, 2016, 07:07:46 pm

Brands, Manufacturers etc by moomoo
July 04, 2016, 02:24:25 pm

Questions by SMFHacks
July 04, 2016, 12:51:53 pm

Possible bug by SMFHacks
July 04, 2016, 10:23:58 am

Powered by EzPortal