Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11795
Latest: Davis33
New This Month: 13
New This Week: 0
New Today: 0
Stats
Total Posts: 37109
Total Topics: 6538
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 114
Total: 115

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

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3105 Views
Last post May 18, 2008, 05:00:34 pm
by SMFHacks
0 Replies
1940 Views
Last post October 13, 2008, 07:49:00 am
by darkorical
1 Replies
3101 Views
Last post February 27, 2009, 04:18:48 am
by Darkshadow
4 Replies
4271 Views
Last post February 23, 2009, 03:18:03 am
by Sweetwater
4 Replies
3292 Views
Last post August 10, 2012, 08:51:49 am
by amwebby

+- Recent Topics

Any plan on introducing new payment gateways to the store? by SMFHacks
September 20, 2016, 05:12:15 pm

WHY? by Snuffy
September 10, 2016, 10:56:33 pm

replacing a category thumbnail with another - what am I doing wrong? by SMFHacks
September 03, 2016, 07:16:30 pm

Feature Requests by madfiddler
September 02, 2016, 03:21:18 pm

Next / Previous Image by bulldogfever
September 02, 2016, 09:25:56 am

Categories / Galleries by SMFHacks
September 01, 2016, 05:57:00 pm

Awesome Post Ratings - New Product by oskaaay
August 31, 2016, 12:24:38 am

Responsive Themes by SMFHacks
August 26, 2016, 08:08:05 am

Topic: Serious issue and Fatal Error with CountryFlags, Help! by niknik
August 25, 2016, 01:57:44 am

Custom Fields in Gallery by bknapp
August 22, 2016, 06:47:48 pm

Powered by EzPortal