Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11859
Latest: samimikawi
New This Month: 11
New This Week: 7
New Today: 4
Stats
Total Posts: 37439
Total Topics: 6592
Most Online Today: 89
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 62
Total: 63

Author Topic: How To: Restrict Options When Adding Items  (Read 3407 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
3250 Views
Last post May 18, 2008, 05:00:34 pm
by SMFHacks
0 Replies
1991 Views
Last post October 13, 2008, 07:49:00 am
by darkorical
1 Replies
3226 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
4352 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
3474 Views
Last post August 10, 2012, 08:51:49 am
by amwebby

+- Recent Topics

smf Gallery pro and video Plugin upload from Iphone by SMFHacks
January 20, 2017, 09:22:50 am

Download link doesn't work on Ipads by shuban
January 17, 2017, 11:15:23 am

Nochex by shuban
January 17, 2017, 11:12:34 am

Font Size In Latest Badges Awarded On Main Index by SMFHacks
January 12, 2017, 07:12:38 pm

Tracking members by SMFHacks
January 12, 2017, 09:56:50 am

How much does it cost to get an upgrade for this Mod? by shuban
January 11, 2017, 04:06:30 pm

Complicated MySQL Query by shuban
January 11, 2017, 02:52:03 pm

How do I make the product description PHP ready? by shuban
January 10, 2017, 07:14:39 pm

Moving over to https by SMFHacks
January 10, 2017, 07:00:22 pm

observations & suggestions by climber
January 01, 2017, 07:51:30 pm

Powered by EzPortal