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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Charges and previous/next buttons

Thread began 1/01/2010 12:52 am by denise234045 | Last modified 1/05/2010 2:26 pm by Eric Mittman | 724 views | 3 replies |

denise234045

Charges and previous/next buttons

Just can't keep away....

Two things I'd like to accomplish. I am using flat rate shipping that I set up in the ecart object panel under the Charges section (not from the shipping tab) It works fine, except in the admin order_details.php there isn't a row for 'charges' and I can't figure out how to add...

I tried...
$<?php echo(number_format($row_WADAorders['OrderCharges'],2)); ?>

and a few other things with no luck.

Next - I'd like to add 'previous' and 'next' buttons to the product detail pages so that users can scroll through product items one at a time.

Thx!!

Sign in to reply to this post

Eric Mittman

The way that PowerStore is setup you will not record the charges that are created under that tab. Only the tax and shipping will be recorded for the order. If you would like to record your charges for the order you will need to start by adding in a column to your orders table to hold the charges. Once you have done this you would need to update the store order summary on both of the confirm pages. In these server behaviors you would need to bind the total charges to this new charges column.

Once you are recording the value in the db you will need to update the admin order details page by adding in your reference to the newly crafted column in your orders table. If you name your new column OrderCharges then you can use the reference that you have here for that.

Sign in to reply to this post

denise234045

Thank you.


How about adding Previous and Next buttons to the product detail pages?

Sign in to reply to this post

Eric Mittman

A link to a details page is the same for all products, it just makes use of an id in the link.

You could add in previous and next buttons that have links to other products. To get the id for the new product though you would need to add a recordsets to the page to pull the 'previous' and 'next' products.

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