close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Showing images in basket/checkout

Thread began 5/01/2010 9:09 am by glenn140201 | Last modified 5/03/2010 1:13 pm by Jason Byrnes | 2124 views | 8 replies |

glenn140201

Showing images in basket/checkout

Hi
I'm sure I'm missing something obviosus, but because I set up my initial cart not to show images in basket/checkout I can't seem to get them to show. I'm guessing this is because the image field in my cart view is not mapped to my database entry. How do I resolve this please.
Cheers
Glennyboy

Sign in to reply to this post

Jason ByrnesWebAssist

First you need to add the image column to your eCart object.

Next you need to modify the add to cart buttons to store the image name for the product in the new image column, on the bindings tab of the add to cart button interface, select the image column, then click the lighting bolt next to value and select the image column from your recordset.

Finally, you need to add the image tag in the cart display:

php:
<img  src="imagesupload/<?php echo $WA_Store_Cart->DisplayInfo("Thumb"); ?>" alt="" />




this example assumes that the images are stored in the imagesupload directory, that the cart is named WA_Store_Cart and the image column is named Thumb. You need to make any needed corrections.

Sign in to reply to this post

glenn140201

Ah yes Jason of course it has to come from the add to cart.

I unfortunately have another error in my cart.

When I add an item to the basket it has started to simply replace the current items quantity and then adding to the price. The new item itself does not show. The ecart repeat region repeat seems to have stopped completely?

Can you please advise how to rectify this.

Cheers

Glenn

Sign in to reply to this post

Jason ByrnesWebAssist

This will happen if the two items share the same id.

make sure the ID being added to the cart is unique for each item.

Sign in to reply to this post

glenn140201

Hi Jason

Yes thanks I just noted the same and sorted it. When I updated the add to cart sb it defaulted to the wrong id from my list. I amended to the product ID and it works again now.

Thank you for your continued assistance.

Cheers

Glenn

Sign in to reply to this post

glenn140201

Hi Jason

Regrettably the cart has now also lost my shipping, which also worked previously.

I have set a standard shipping for a set price per item of £4.99 as follows:-

total number of items > 0
Based on quan
Quan of item 1 x £4.99

Again I'd appreciate your input to get me taking payments asap.

Cheers
Glenn

Sign in to reply to this post

Jason ByrnesWebAssist

This looks like it will only work if Item ID 1 is the cart.

Can you make sure you are using the correct product for testing.

Sign in to reply to this post

glenn140201

Hi Jason

I want a set 'standard shipping' of £4.99 to be added for each and every item in the basket. - not just an item with ID of 1. So Q x £4.99.

To expand I have attached a screen-grab of my current settings.

I'd appreciate your direction.

Thanks

Glenn

Sign in to reply to this post

Jason ByrnesWebAssist

the calculation you are using, "Based on Quantity of an item" is specific to the ID you set.


you want to use the d"Based on column Subtotal" Calculation:
Subtotal of Column "Quantity" "Times" "4.99"

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...