Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12399
Latest: SizofErsin
New This Month: 4
New This Week: 0
New Today: 0
Stats
Total Posts: 40600
Total Topics: 7132
Most Online Today: 104
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 97
Total: 99

Author Topic: How To: Restrict Options When Adding Items  (Read 4270 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, 11: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
3954 Views
Last post May 18, 2008, 06:00:34 pm
by SMFHacks
0 Replies
2484 Views
Last post October 13, 2008, 08:49:00 am
by darkorical
1 Replies
3908 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
5294 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
4356 Views
Last post August 10, 2012, 09:51:49 am
by amwebby

+- Recent Topics

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
Today at 10:21:25 pm

Forum ToolBox by Monocero
Today at 01:55:20 am

[Mod] Tagging System by SMFHacks
January 13, 2021, 08:43:33 pm

Using Alternate PayPal Address by KKOG
January 13, 2021, 07:24:46 pm

Assigning a BuyNow Button to a product by SMFHacks
January 12, 2021, 04:59:32 pm

SMF Links by Nicole
January 10, 2021, 12:02:39 pm

Error on the latest version by davejo
January 06, 2021, 08:04:05 am

Recent topics on board index by eugen
January 01, 2021, 11:08:16 am

Parser by swayforth
December 31, 2020, 12:24:23 am

Show Gallery in Users Profile by swayforth
December 29, 2020, 10:37:17 pm

Powered by EzPortal