close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Manual calculation for price - how to post ATC from repeat region

Thread began 4/04/2010 6:36 pm by dave315749 | Last modified 4/07/2010 12:30 pm by Eric Mittman | 1227 views | 3 replies |

dave315749

Manual calculation for price - how to post ATC from repeat region

Ok here is the problem,

1. I have a price manually calculated within PHP.
2. It works fine on the product detail page because there is only 1 product.
3. but when i put this calculation onto the product pages and repeat the add to cart button the only way i get different prices is if the manual php calculation is within the repeated region code down on the page.
4. But the problem is when its not "above" the add to card code, the add to cart button does not pull the code from down below in the repeat region.

What do i do next so that when i click add to cart the price WILL be attached.

Price = record set number x manual php calculation and ends up to be the php variable $finalprice.

Sign in to reply to this post

Eric Mittman

I sure that this is something that can be worked out based on your description, but I would like to take a look at the code on the page to get a better idea of how it should be. You might need to add another recordset to the page that is filtered by the posted item id.

Sign in to reply to this post

dave315749

I have it working on the detail page, but it is when i have multiple items on a page is where i am having trouble. why does the information have to come before the add to cart code?

Sign in to reply to this post

Eric Mittman

I think you should be able to get this worked out but I would like to see the code on the page to get a better understanding of just how it is setup now. I have a feeling that with a minor update you could make it work correctly.

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