Welcome Visitor, Please Login or Register Now |
|
Friday, March 29, 2024 12:08 PM |
|
conuremom |
Registered Member |
Posts: 76 |
Joined: 12-07-05 03:13 PM |
|
|
|
|
|
|
|
|
|
|
|
mewsoft |
Administrator Team Member |
Posts: 5381 |
Joined: 03-29-24 12:08 PM |
Location: knxoville, TN, USA |
|
|
|
|
|
|
|
|
|
|
conuremom |
Registered Member |
Posts: 76 |
Joined: 12-07-05 03:13 PM |
|
|
|
|
|
|
|
|
|
variable help |
Edit Delete Quote |
Reply #: 2 Posted on: 08-08-09 08:56 AM |
|
|
|
OK, that worked as far as getting the shipping fee to appear in the e-mail. But now I can't seem to get it formatted to match the rest of the e-mail. The e-mail is in a table, and < !--Ad2-- > seems to be inserted pre-formatted to add another table row which I do not want. In my letter below you see that the shipping fee is on a white line, and left justified. It's supposed to be on the green line above it, right justified to line up with the total. The HTML code that is in my e-mail has it in a < td > in the same row as the green background above it. For some reason when it's inserted, it adds another table row and ignores my formatting. Any idea why?. It is also inserting the words "Shipping Fee:" with the total. Where exactly does it get the text it uses--from the view form or the preview form? I had wanted the word "Shipping" to appear in the cell above the word "Total" in the letter. I hadn't expected < !--Ad2-- > to bring text along with the fee amount. (and you can see where this is going, can't you? The next thing I will need to do is figure out how to add < !--current_bid-- > and < !--Ad2-- > together somehow. ) Item # | Link to Auction | Price | 1138717288 | TEST THING | $ 10.00 |
|
| | | | Shipping Fee: $ 987.65< /> | | Total | $ |
|
|
|
|
|
|
|
wannauseit |
Registered Member |
Posts: |
Joined: 03-29-24 12:08 PM |
|
|
|
|
PM |
|
|
|
|
|
wannauseit |
Registered Member |
Posts: |
Joined: 03-29-24 12:08 PM |
|
|
|
|
PM |
|
|
|
|
Re: need some help w/variable |
Edit Delete Quote |
Reply #: 4 Posted on: 08-08-09 09:13 AM |
|
|
|
Also,\
\
You put the text "Shipping Price" in your < !--Ad2-- > form, that's why it "brought it along". |
|
|
|
|
|
wannauseit |
Registered Member |
Posts: |
Joined: 03-29-24 12:08 PM |
|
|
|
|
PM |
|
|
|
|
Re: need some help w/variable |
Edit Delete Quote |
Reply #: 6 Posted on: 08-08-09 10:30 AM |
|
|
|
Calculate shipping and current bid together? |
|
|
|
|
|
conuremom |
Registered Member |
Posts: 76 |
Joined: 12-07-05 03:13 PM |
|
|
|
|
|
|
|
|
|
|
wannauseit |
Registered Member |
Posts: |
Joined: 03-29-24 12:08 PM |
|
|
|
|
PM |
|
|
|
|
Re: need some help w/variable |
Edit Delete Quote |
Reply #: 8 Posted on: 08-08-09 10:40 AM |
|
|
|
No, I'm sorry.\
\
I was asking if that's what you were wanting to accomplish.\
\
That would require custom programming I believe since none of the other users would have their site setup that way. |
|
|
|
|
|
conuremom |
Registered Member |
Posts: 76 |
Joined: 12-07-05 03:13 PM |
|
|
|
|
|
|
|
|
|
Variables |
Edit Delete Quote |
Reply #: 9 Posted on: 08-08-09 10:53 AM |
|
|
|
Oh, yes, I do want to add current bid and shipping fee together and show the total at the bottom of the e-mail.\
\
I *think* I might be able to do it in Javascript. Not sure yet. I'm currently looking into that. |
|
|
|
|
|
wannauseit |
Registered Member |
Posts: |
Joined: 03-29-24 12:08 PM |
|
|
|
|
PM |
|
|
|
|
Re: need some help w/variable |
Edit Delete Quote |
Reply #: 10 Posted on: 08-08-09 11:00 AM |
|
|
|
Great!\
\
I hope you can get it to work that way. |
|
|
|
|
|
conuremom |
Registered Member |
Posts: 76 |
Joined: 12-07-05 03:13 PM |
|
|
|
|
|
|
|
|
|
Variables |
Edit Delete Quote |
Reply #: 11 Posted on: 08-08-09 11:21 AM |
|
|
|
I'm SURE there's a way to do this. I just need a bit of information first. (I'm teaching myself all of this as I go...)\
\
Custom Fields Manager produces variables formatted as\
< !--variable-- >\
\
What language is that variable formatted for when it comes out of there? HTML? PERL? Something else? \
\
I need to know how to translate the format "< !--variable-- >" into something Javascript can use. |
|
|
|
|
|
|
wannauseit |
Registered Member |
Posts: |
Joined: 03-29-24 12:08 PM |
|
|
|
|
PM |
|
|
|
|
Re: need some help w/variable |
Edit Delete Quote |
Reply #: 12 Posted on: 08-08-09 12:32 PM |
|
|
|
A variables output is produced in many different forms and depends on the output you have chosen.\
\
Look at it this way.\
\
Say you have chosen < !--Ad2-- > to output the shipping price, but it's in those < td > Shipping Price $300.00 < /td > format.\
\
The TD's make it HTML format.\
\
If the output was only "Shipping Price $300", that would be considered Text. |
|
|
|
|
|
|
conuremom |
Registered Member |
Posts: 76 |
Joined: 12-07-05 03:13 PM |
|
|
|
|
|
|
|
|
|
variables |
Edit Delete Quote |
Reply #: 13 Posted on: 08-08-09 03:06 PM |
|
|
|
I think that I've determined that < !--Ad2-- > is a server side include comment. (Ahmed, am I right?)\
\
I need to find a way to add together the resulting data from current_bid and Ad2.\
\
I cannot seem to find whether the data included in SSI variables can be acted upon once produced. \
\
If someone knows how, please tell me! I'm really close to finishing this project so I can start using the software. |
|
|
|
|
|
|
|
Mewsoft and Mewsoft Logos are registered trademarks.
® Corporation. All Rights Reserved.
Copyright -
Privacy -
Terms of Use
| Page Load: 0.5013 Seconds |
|