Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
July 28, 2014, 07:21:00 am

Login with username, password and session length
Members
Total Members: 11298
Latest: qs12345
Stats
Total Posts: 35185
Total Topics: 5892
Online Today: 65
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 42
Total: 44
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
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 1995 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
[July 27, 2014, 09:07:50 am]

[July 24, 2014, 03:15:32 pm]

[July 24, 2014, 01:07:19 pm]

[July 23, 2014, 07:52:40 am]

[July 22, 2014, 09:55:50 pm]

by donk
[July 22, 2014, 12:25:04 am]

[July 20, 2014, 11:37:03 pm]

[July 20, 2014, 09:12:32 pm]

[July 19, 2014, 12:11:49 pm]

[July 18, 2014, 09:41:27 am]
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.108 seconds with 19 queries.