Facebook  Twitter 


+- +-


+- User Information

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

+- Forum Stats

Total Members: 11452
Latest: Craken
New This Month: 2
New This Week: 1
New Today: 1
Total Posts: 36065
Total Topics: 6349
Most Online Today: 48
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 44
Total: 45

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

Looking for "Holiday Badges", or something similar by SMFHacks
October 03, 2015, 05:02:12 pm

fsockopen enabled in PHP (Required for paid listing, and listing upgrades) by davejo
October 03, 2015, 11:10:20 am

Menu Editor Pro with Simple Portal Home Page by LukeZ
October 02, 2015, 09:06:59 pm

Unofficial SMF 1.1.22 Update by SMFHacks by SMFHacks
October 02, 2015, 01:00:44 pm

[Mod]SMFHacks Unofficial 1.1.22 Update by SMFHacks
October 02, 2015, 12:55:20 pm

I need help with a small mod... by TKO-100
October 01, 2015, 04:35:06 pm

RSS feed to auto create a new forum post by clive
September 29, 2015, 02:32:18 am

Paypal interface with SMF Store - Standard Vs Premium or Business? by shuban
September 28, 2015, 09:36:13 pm

Caching query problem by shuban
September 28, 2015, 09:34:26 pm

Server side Gallery Permissions Error? by SMFHacks
September 28, 2015, 08:38:58 pm

Powered by EzPortal