Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
April 20, 2014, 09:18:56 pm

Login with username, password and session length
Members
Total Members: 11194
Latest: HDB
Stats
Total Posts: 34813
Total Topics: 5838
Online Today: 90
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 54
Total: 54
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How To: Restrict Options When Adding Items  (Read 1872 times)
frustrated
Jr. Member
**
Offline Offline

Posts: 63


View Profile
« on: May 11, 2011, 11: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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 03:27:21 am]

[April 17, 2014, 06:35:33 pm]

[April 17, 2014, 05:44:48 pm]

[April 17, 2014, 04:01:58 pm]

[April 15, 2014, 10:58:02 am]

[April 13, 2014, 11:12:24 am]

[April 11, 2014, 09:39:48 am]

[April 11, 2014, 08:48:03 am]

[April 10, 2014, 08:20:58 am]

[April 09, 2014, 09:16:55 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.139 seconds with 21 queries.