Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11841
Latest: lucaowen640
New This Month: 6
New This Week: 3
New Today: 0
Stats
Total Posts: 37363
Total Topics: 6575
Most Online Today: 100
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 79
Total: 79

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

+- Recent Topics

PM opened pm mod by SMFHacks
December 05, 2016, 10:16:23 am

Sort or rank the main categories? by Jens
December 03, 2016, 02:17:41 pm

Need help making theme adjustments. by Jude
December 03, 2016, 02:10:50 pm

SA Facebook Integration 3.1: Exception: REST API is deprecated for versions v2.1 by Jens
December 03, 2016, 10:37:56 am

License Key Failure? by annedi
December 02, 2016, 01:04:04 pm

Disabling this script when focused on a textarea by SMFHacks
November 30, 2016, 03:38:01 pm

Is SVG supported by the Gallery? by SMFHacks
November 29, 2016, 04:59:04 pm

template by SMFHacks
November 29, 2016, 02:27:36 pm

Finding related Gallery items based on description is title search fails by shuban
November 28, 2016, 05:05:04 pm

SMFHacks.com - Black Friday sale! Last Chance till next year! by PyroTech03
November 27, 2016, 09:46:22 pm

Powered by EzPortal