Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11367
Latest: WjUl79BeNd
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 35800
Total Topics: 6312
Most Online Today: 46
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 2
Guests: 33
Total: 35

Author Topic: How To: Restrict Options When Adding Items  (Read 2554 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.

 

+- Recent Topics

Download content RSS feed by coolfx35
Today at 06:24:49 am

Show user max audio or video size on "add video/audio form" by BuddahBoy
August 03, 2015, 10:51:21 am

MOVED: SMF Gallery Pro Watermark by SMFHacks
August 02, 2015, 11:40:39 am

SMF Gallery Pro Watermark by SMFHacks
August 02, 2015, 11:39:29 am

Filter - Show only own pictures by Michel68
August 01, 2015, 07:32:23 am

Updating from 7.0.5 to 7.0.6 by SMFHacks
July 30, 2015, 09:34:04 am

Chrome different than IE by SMFHacks
July 30, 2015, 06:55:11 am

NOOB Question - General Photo attachment Give random Error - NOTHING IN THE LOGS by SMFHacks
July 28, 2015, 09:22:35 am

SIMPLE AUDIO VIDEO EMBEDDER - Problem Does not work by SMFHacks
July 27, 2015, 10:24:10 pm

AEVA to SMF Gallery Pro by SMFHacks
July 27, 2015, 07:04:49 pm

Powered by EzPortal