/    Sign up×
Community /Pin to ProfileBookmark

Automated "sold tag" in frontpage using html

This may be a tall order but what I need to do is add an automated “sold tag” on items I am selling on my website. I shall try and be as thorough as I can in the idea I have. My wife and I are building a website using frontpage and some html. She is using Paypals “Buy it now button” and using their shopping cart/invoicing page but if some one clicks on a product to buy now is there a way of adding a sold tag (previously constructed using “paint”) to the item. To be concise there would be a photo of a doll on th webpage with a buy it now button and the idea is to have the sold tag “pasted” over the doll photo so any other people using the website can see that th doll is sold, because she will only ever have one of any particular doll. I hope I have made this clear but this is all new to me. :rolleyes:

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJan 13.2006 — Well, of course it's possible, but not trivial. You'd probably need to use some server-side scripting along with a database (or at least a data file) to track which items are sold or still available. The photos could be set as the background of a DIV element, then if the database indicates it's "sold", the script would put the "sold" image in that DIV, effectively overlaying the main (background) image.
Copy linkTweet thisAlerts:
@Gary_SauthorJan 14.2006 — Thanks for that noddog I sort of understand what you are saying, I have had another idea that is - when someone clicks the buy now button, using the HTML command "onclick" could it generate a hidden gif or sold tag by using visibilty property setting to "hidden" then by the action of someone clicking reverses the visibilty setting to visible.
Copy linkTweet thisAlerts:
@ray326Jan 15.2006 — Well, onclick isn't HTML, it's a Javascript binding and that concept will fail if the user has Javascript disabled OR they simply refresh the page. Also, it doesn't work in general. I.e. if you have one item for sale and 10 people looking at the page, the only one who see the sold tag is the one click the "buy me" button. This has to be done on the server to work at all.
Copy linkTweet thisAlerts:
@Gary_SauthorJan 15.2006 — Ok I understand what your saying, do you know of any software / shopping cart programs that will assist me with my problem. As there will only ever be one particular doll on sale I need an automated system to to show other visitors to the website that if someone clicks to buy then I need to have an instant system whereby the item is shown "as sold". It would be very embarrassing if another person were to click buy now and then have to email them and say sorry item has already been sold. Sorry if I am not making myself very clear but I know what I want to try and do but I am not sure of the easiest way to do it. I want the selling part of the site to be more professional than just getting a potential buyer to email me with the description of the doll they wish to buy then emailing them to say yes it is for sale etc. Thanks for everyones help but I am very new to this web building game.
Copy linkTweet thisAlerts:
@ray326Jan 15.2006 — Any programming capability (ASP, PHP, JSP, CGI/Perl) on the server can accomplish it. Note, it's ok for them to TRY to buy a sold item as long as the immediate response indicates it's already been sold. There's no good way to try to communicate that status to them in real time.
×

Success!

Help @Gary_S spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...