Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11407
Latest: mygsmnaira
New This Month: 41
New This Week: 16
New Today: 1
Stats
Total Posts: 35893
Total Topics: 6326
Most Online Today: 69
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 43
Total: 44

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

Nowhere to input copyright removal key by mygsmnaira
Today at 05:19:51 pm

Ad placement question by SMFHacks
Today at 12:31:31 pm

Restrict Member Galleries viewing to only one membergroup by Tonyvic
Today at 04:46:06 am

Exclude Actions by SMFHacks
August 28, 2015, 03:59:34 pm

[Theme] SMF : Facebook Theme Beta Test by ilookpair14
August 28, 2015, 04:09:28 am

Download content RSS feed by SMFHacks
August 25, 2015, 11:58:40 am

E Arcade Game Packs by SMFHacks
August 23, 2015, 08:16:30 am

Test Directory by SMFHacks
August 21, 2015, 12:40:01 pm

installation fails by nightware
August 19, 2015, 10:27:35 pm

Community Suite Copyright Removal by dbalagna
August 17, 2015, 07:41:39 pm

Powered by EzPortal