68 Classifieds Forums

Price checking by Listing Package

This is a discussion on Price checking by Listing Package within the v3.0 Questions & Support forums, part of the v3.0.x Help & Support category; Be sure you have packages that have these package ids. If you don't have a package it will give you ...


Go Back   68 Classifieds Forums > Archives > v3.0.x Help & Support > v3.0 Questions & Support

 
 
LinkBack Thread Tools Display Modes
  #21  
Old 08-10-2006, 10:07 AM
juven14's Avatar
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
juven14 is a jewel in the rough
Send a message via Skype™ to juven14
Default

Be sure you have packages that have these package ids. If you don't have a package it will give you a price of 0.

Setup all the packages you want then pull the package ids and replace those in the code.

I've replied to your email as well.
__________________
Regards,

John


“By perseverance, study, and eternal desire, any man can become great.” George S. Patton
  #22  
Old 08-10-2006, 11:32 AM
juven14's Avatar
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
juven14 is a jewel in the rough
Send a message via Skype™ to juven14
Default

I used view source from the browser to pick the right package ids and inserted them in the code.

Please test and let me know if that solved your problem.
__________________
Regards,

John


“By perseverance, study, and eternal desire, any man can become great.” George S. Patton
  #23  
Old 10-14-2007, 07:27 PM
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 8
Greg H is on a distinguished road
Default

Ive tried this in 3.1.10 and it does not seen to work. Should this work the same way in 3.1.10?

EDIT:It works fine in 3.1.10. The problem for me was the interface between my chair and my keyboard.
__________________
Greg

Version 3.1.9 Developer

Last edited by Greg H; 10-16-2007 at 01:48 AM.
  #24  
Old 12-02-2007, 05:07 PM
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 8
Greg H is on a distinguished road
Default

I have found two problems with this method.

1- It does not seem to work when a user pays for the ad listing using a package/membership.

2- There is nothing stopping a user from modifying the price once the ad has been placed.

I would love a fix for Number 1
I could live with number 2 ,I guess.

I am using the first, simplest method as suggested by SuzKaw..

if($productid==1 && $listingprice > 500)
{
$listingprice=500;
}

Any ideas anyone ?
__________________
Greg

Version 3.1.9 Developer
  #25  
Old 12-03-2007, 12:19 AM
juven14's Avatar
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
juven14 is a jewel in the rough
Send a message via Skype™ to juven14
Default

This is because you have to add this code to the membercheckout.php and usermodifylisting.php. I don't have access to the code right now, but it should be more or less the same code you applied to usercheckout.php
__________________
Regards,

John


“By perseverance, study, and eternal desire, any man can become great.” George S. Patton
  #26  
Old 12-03-2007, 05:48 AM
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 8
Greg H is on a distinguished road
Default

John,

Thank you,that worked, it seems logical now you have said it.

Now to get it working in usermodifylisting.php so users cant change the price in their ad listing.

My first attempt failed, but I will persevere.

Cheers
__________________
Greg

Version 3.1.9 Developer
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOD: Price Descriptor Chaslie v3.1 Modules & Modifications 7 02-27-2008 04:23 PM
User: See's Membership listing package garysr v3.1 Questions & Support 23 11-04-2006 02:08 PM
Listing package - 0.00 where I can delete this???? akm v3.1 Questions & Support 3 06-25-2006 09:30 PM
Delete Listing Package ... what happens to listings? hppenterprises v3.1 Questions & Support 2 06-02-2006 06:08 PM
Large price field entry causes listing to be hidden in admincp civ v3.0 Questions & Support 1 04-07-2006 11:04 AM


All times are GMT -4. The time now is 02:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22