close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Replace Add to Cart with image

Thread began 4/17/2015 10:48 am by NWak04030229 | Last modified 4/24/2015 2:41 pm by Ray Borduin | 551 views | 4 replies |

NWak04030229

Replace Add to Cart with image

I wondered whether there was any way of having the Add to Cart button replaced with a 'sold' button? Most of the things I sell through my site are 'one-offs' so when it is sold it is sold. I just wondered if there was anyway at all of having the add to cart button automatically changed or even stop working once the item was sold?

Sign in to reply to this post

Ray BorduinWebAssist

Yes you could do this pretty easily. Just add a recordset to the page to check to see if the item ID is in the OrderDetails table (identifying that it was sold)... Then you can use the "show region if database is empty" and "show region if database is not empty" based on that recordset finding the item in the sold OrderDetails table.

Sign in to reply to this post

NWak04030229

Ray, sorry meant to reply to this.
I am not using a database so is it still possible to replace the Add to Cart with a Sold image?

Sign in to reply to this post

Ray BorduinWebAssist

Manually? I don't see how you would keep track of when it was sold or not without a database, so the only way to replace the add to cart with a sold image in that case would be to go in and edit the page to do it.

Sign in to reply to this post

NWak04030229

Ray - it's fine. The stuff I sell is for collectors so am not inundated with sales. I had been using PayPal for the cart and had to go in and manually replace the Add to Cart script with a Sold image anyway. It's no big deal but just wondered if there would have been any other way to do it. It's taken me about a year to compile the web site and, tbh, if I had known all the stuff I know now, I would have set the catalogue up as a database - maybe on the next one :)
Thanks for your help anyway

Nick

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...