Facebook  Twitter 


+- +-


+- User Information

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

+- Forum Stats

Total Members: 11499
Latest: zareeffa
New This Month: 25
New This Week: 3
New Today: 1
Total Posts: 36292
Total Topics: 6378
Most Online Today: 58
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 40
Total: 41

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

Random photos on main forum page?? by louiec
November 27, 2015, 08:50:49 pm

How to send emails? by SMFHacks
November 27, 2015, 09:26:18 am

Need Help - Bulk Upload Error by SMFHacks
November 27, 2015, 09:12:14 am

Bug In Line (1666) by SMFHacks
November 27, 2015, 09:10:02 am

True HTML output in newsletter content by PapaTango
November 25, 2015, 09:55:27 pm

add url photo by quasur
November 24, 2015, 04:14:23 pm

Gallery Pro translations by pavelk
November 24, 2015, 12:40:55 am

Help. I paid for Gallery Pro and don't know what to do next! by louiec
November 20, 2015, 05:49:15 pm

Simple Q on "Simple Audio Video Embedder" by RedCairo
November 18, 2015, 11:09:46 pm

Black Friday early bird sale! by SMFHacks
November 13, 2015, 12:35:19 pm

Powered by EzPortal