Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11200
Latest: yogurt213
New This Month: 23
New This Week: 3
New Today: 2
Stats
Total Posts: 35215
Total Topics: 6222
Most Online Today: 76
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 44
Total: 44

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

Full gallery RSS feeds by SMFHacks
April 20, 2015, 11:45:49 am

Before I buy this...questions.... by DragonLady
April 17, 2015, 02:06:57 pm

Option for opening links in a new window by SMFHacks
April 13, 2015, 03:26:13 pm

Subject Required Error by Saftek
April 13, 2015, 11:19:04 am

Subscription page error by Saftek
April 13, 2015, 11:11:00 am

Pre sale question by SMFHacks
April 13, 2015, 07:44:06 am

Display different ads based on IP adress by SMFHacks
April 13, 2015, 07:17:11 am

From Ad Management to Ad Seller Pro by SMFHacks
April 10, 2015, 06:57:02 am

Profile, members files/gallery by SMFHacks
April 09, 2015, 05:27:12 pm

Do you design custom mods? by SMFHacks
April 09, 2015, 08:09:25 am

Powered by EzPortal