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; O.k. My client has adjusted his plan and will now be offering only one package per price range. So it ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
O.k. My client has adjusted his plan and will now be offering only one package per price range. So it looks like I have a solution.
Many Thanks. A side topic: Is there a way to have the customer put his price in before selecting a package? Then the package could be automatically selected (as there's only one per price range) and that price field passed into the form where they fill out details. |
|
#12
|
|||
|
|||
|
So, I updated the code (below) in usercheckout.php and it doesn't give an error, but it also doesn't put people into the right package. Even with the new code in usercheckout.php I successfully placed an ad in a package that was not correct for the item price. Thoughts?
PHP Code:
|
|
#13
|
|||
|
|||
|
Any ideas. I thought this would work, but it doesn't. And I've got an client who wants to launch his site with this scinario.
Thanks. |
|
#14
|
|||
|
|||
|
help
me please Last edited by e1m2j; 08-03-2006 at 05:51 PM. |
|
#15
|
||||
|
||||
|
Try this:
PHP Code:
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#16
|
|||
|
|||
|
When I replace what I had with what you suggested I get:
Listing Price: 1230 Package: New Package: 6 I had selected package 2 which was to be $40-$70. So it does appear to recognizing the new package (even if it doesn't list the selected package in the Package: space - is it supposed to) However, when I continue on I'm only being charged the package 3 price not the package 6 price. |
|
#17
|
|||
|
|||
|
Any thoughts Eric/others?
Seems that it's recognizing the switch, but not passing the new value through the rest of the checkout process. |
|
#18
|
|||
|
|||
|
Any ideas? Anyone?
|
|
#19
|
||||
|
||||
|
Try this:
Open usercheckout.php: Scroll down to step 4 and find: PHP Code:
PHP Code:
The only thing that came to mind is that you'll need identical packages except for the price, since the features of the listing are defined by the original package chosen.
__________________
Regards, John “By perseverance, study, and eternal desire, any man can become great.” George S. Patton Last edited by juven14; 08-09-2006 at 10:24 PM. |
|
#20
|
|||
|
|||
|
Thanks, but that doesn't do it.
I tried it just like you described and it changed the package, but made it $0. Then I tried reverted $productid to $package, and that let the transaction go through with a value, but the original value. Perhaps I put your code in the wrong place. Step 4 wasn't very obvious to me in the code, but there was only one place where the line $description = ereg_replace("(\r\n|\n|\r)", "<br />", $description); exists. Other thoughts? |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |