close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problem upgarde to 5

Thread began 12/12/2012 11:59 am by melaniekelley366749 | Last modified 12/26/2012 2:35 pm by melaniekelley366749 | 903 views | 5 replies

melaniekelley366749

I´ve tried the code you posted but it has no effect.

Here is the code that creates the "add to cart" button:
<?php
if ($totalRows_rst_invoices!=0){
do
{
echo("<tr>");
echo("<td class='rowRow'>");
echo($row_rst_invoices['id_invoice']);
echo("</td>");
echo("<td class='rowRow'>");
echo($row_rst_invoices['purchase_order_nr']);
echo("</td>");
echo("<td class='rowRow'>");
echo($row_rst_invoices['due_date']);
echo("</td>");
echo("<td class='rowRow'>");
echo($row_rst_invoices['price']);
echo("</td>");
echo("<td class='rowRow'>");
echo("<a href='plugins/get_doc.php?d=files/invoices/".$row_rst_invoices['filename']."'>PDF file</a>");
echo("</td>");
?>
<td class="rowRow">
<form name="PolarbearTeesCart_1_ATC_<?php echo $row_rst_invoices["id_invoice"]; ?>" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<input type="hidden" name="PolarbearTeesCart_1_ID_Add" value="<?php echo $row_rst_invoices["id_invoice"]; ?>" >
<input type="hidden" name="PolarbearTeesCart_1_Quantity_Add" value="1" size="4" >
<input type="image" src="../WA_eCart/Images/Pacifica/Btn2_EN_addtocart.gif" border="0" value="Add to Cart" name="PolarbearTeesCart_1_ATC">
</form> </td>
<?php
echo("</tr>");
}
while ($row_rst_invoices = mysql_fetch_assoc($rst_invoices));
}
?>

Most of it was generated automatically by eCart. It displays a simple list of database items as part of a table, each with an "add to cart" button next to them.

There is no link to the page because so far it all exists only in a local development environment.

Since the update create the problem, I think that it would be the easiest way to simply remove the eCart from the page, and then start over by adding it anew. Only I can´t find any way to do that, I can only find options to add it, but none to remove it. How can I remove the eCart from the page?

Thank you for your efforts.

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