close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Quick cart question

Thread began 10/06/2009 12:46 pm by Roxana | Last modified 10/08/2009 11:17 am by Eric Mittman | 1452 views | 3 replies |

Roxana

Quick cart question

I am using a template page, and I would like the quick cart to become part of that template page. But the php code for the quick cart is in the top section of the code (above the document type), and that part of the code is not copied to the pages that are attached to the template. Without that code everything on the page after the quick cart is gone.

Is there a way, other than pasting the php code for the quick cart to every single page, to get a template page to carry the php changes over to all pages?

Sign in to reply to this post

Eric Mittman

You may want to try adding in the cart code then moving it down into the html of the page. If the code is down here and not in an editable region then it should be a part of every page. This is about the only other way I can think to add this in without having to copy the code to all the pages individually. Please give this a try and let us know how it works for you.

Sign in to reply to this post

Roxana

Hi Eric,

I moved the php code right after the html tag. I didn't know that I could do that.

It worked. Instantly the change was saved to all pages attached to the template, and the quick cart works on every page.

Thank you for the tip.

Sign in to reply to this post

Eric Mittman

I'm glad it worked out for you, it is a limitation of the templates that the server side code is not retained in them, just everything after the template begin portion on the template derived pages.

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