This is a discussion on Adding Text To Price Field within the v3.1 Questions & Support forums, part of the v3.1 Legacy Help & Support category; I need to be able to add "Or Best Offer" to a price field. What edits are required to do ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I need to be able to add "Or Best Offer" to a price field.
What edits are required to do this? Ken
__________________
v3.1.10 Designer |
|
#2
|
||||
|
||||
|
Do you need this global for all listings or just certain ones?
__________________
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 |
|
#3
|
|||
|
|||
|
At this point I think I can safely say, all listings/global. Since we are the only ones putting up ads, no outside users I think it would be ok to make it cover any listing.
Hope that wing is getting better. ![]() Ken
__________________
v3.1.10 Designer |
|
#4
|
||||
|
||||
|
This is a very simple thing to do, its just a bit of a pain as you will need to go through each of the template files that contains prices.
For example, in showlistings.tpl PHP Code:
Off the top of my head you will need to edit showlistings1 & 2 viewlisting1 & 2 If you are running the developer edition you may struggle to do this to the featured listings on the homepage
__________________
Super Mod v4 Is out and ready for download. DEMO Purchase V4 Super Mod BETA at Reduced Price Visit Me @ Classified-Sofware.co.uk **Important** - All modules with the exceptions of the Bulk Upload System will be removed from my modshop on Tuesday September 30th. If you require a module you must get it before that date. |
|
#5
|
|||
|
|||
|
Thanks for the suggestions Maffo, but I'm thinking that I don't want to be bound to add any text be it "Or Best Offer" or "Call for a quote" to any price field automatically. There may be a situation where we do want to enter a firm price. If I'm understanding what you're suggesting the text would be added no matter what is enter into the price field.
Not being a coder I thought there must be a mechanism that allows only numeric characters or excludes alpha characters, otherwise it seems you could put in any character on the keyboard. But again, I'm learning how all this stuff works. As things go along if we need to upgrade to the developer version we will, that's not a problem. Ken
__________________
v3.1.10 Designer |
|
#6
|
||||
|
||||
|
A: I would suggest the developer edition anyways.
B: You could cheat and have a 'special-price'. Eg you enter the price as 1234.56 Then within your code in the places i have told you can have a piece of code such as PHP Code:
PHP Code:
__________________
Super Mod v4 Is out and ready for download. DEMO Purchase V4 Super Mod BETA at Reduced Price Visit Me @ Classified-Sofware.co.uk **Important** - All modules with the exceptions of the Bulk Upload System will be removed from my modshop on Tuesday September 30th. If you require a module you must get it before that date. |
|
#7
|
|||
|
|||
|
Looks like a great solution for what I want. There are really only two message I'd want to have in addition to, or instead of a numerical price.
Thanks Maffo. Ken
__________________
v3.1.10 Designer |
|
#8
|
||||
|
||||
|
Another option is to use the 'Price Descriptor' module. This allows you to add anything before the price, after the price or both.
eg: Reduced to $xxx this week only Special Offer $xxx (only 6 available) SOLD $xxx etc, etc Quote:
__________________
Chaslie V3.1.10 dev AUSCITY 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals HTML Help W3 Schools |
|
#9
|
||||
|
||||
|
Sorry Chaslie, didnt even think there.
__________________
Super Mod v4 Is out and ready for download. DEMO Purchase V4 Super Mod BETA at Reduced Price Visit Me @ Classified-Sofware.co.uk **Important** - All modules with the exceptions of the Bulk Upload System will be removed from my modshop on Tuesday September 30th. If you require a module you must get it before that date. |
| 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 |
| Text in Price Field? | dphibb | v3.1 Questions & Support | 5 | 07-09-2007 10:12 AM |
| Adding extra field to search.php... | abkeller | v3.1 Modules & Modifications | 4 | 06-05-2007 01:15 AM |
| removing the price field on some categories | manilaboy | v3.1 Questions & Support | 2 | 11-26-2006 07:09 PM |
| How do I make it so people can input text in the price field...... | sbuell20 | v3.1 Questions & Support | 1 | 08-05-2006 07:24 PM |