Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11082
Latest: Saltysa5T0
New This Month: 62
New This Week: 10
New Today: 1
Stats
Total Posts: 34396
Total Topics: 6112
Most Online Today: 76
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 72
Total: 72

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

questions re SMF 2.1 Beta 1 by dantheman
Today at 09:41:39 am

cron crontab - needed for anything? by lewism
January 29, 2015, 12:11:00 pm

Emailing/PMing Advertiser to Renew? by tank_fv101
January 29, 2015, 03:31:07 am

Comments on the Gallry pro by SMFHacks
January 28, 2015, 11:25:33 pm

Listing credit not credited by SMFHacks
January 27, 2015, 12:02:39 pm

SMFHacks.com - forum theme currently in use by Encephale
January 25, 2015, 06:10:31 pm

[Mod] Tagging System by SMFHacks
January 25, 2015, 03:48:22 pm

Is there a conflict with pretty urls module? by SMFHacks
January 24, 2015, 03:14:00 pm

Ad locations for a single board by access control forum
January 23, 2015, 01:28:17 pm

Ad Seller Pro how do I update by SMFHacks
January 22, 2015, 08:34:18 pm

Powered by EzPortal