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

rating

Erratic eCart Update(s)

Thread began 1/30/2012 2:09 pm by deanmale2001272549 | Last modified 2/02/2012 1:01 pm by Jason Byrnes | 984 views | 3 replies |

deanmale2001272549

Erratic eCart Update(s)

If I add to Cart the first time I have to reload page to get item to show. Once I do that however, It adds each time I press 'Add to Cart.'

Also, If I go back and forth between index.php and items_Detail.php it adds one item to Quick Cart on top of each page as I go back and forth each time. (Without pressing 'Add to Cart.')

Lastly, on my Quick Cart (index.php) it doesn't bring up any kind of detail when I press 'View.' I assume this is the code: onclick="MM_goToURL('plugins/parent',''). Guess, I'm not sure which is the parent? Quick Cart on top of items_Detail.php or Quick Cart on top of index.php

Hopefully, I've uploaded proper files, let me know if you need more?? Thanks!!!!

Attached Files
Eratic Update_1 eCart.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on the details page, remove the delete record server behavior, this server behavior should not be on a public page.


also edit the WADAItems recordset from:

SELECT ItemID, ItemCatID, ItemName, ItemShortDesc, ItemLongDesc, ItemPrice, ItemSKU, ItemThumb, ItemImage, ItemWeight
FROM items
WHERE ItemID = ParamItemID OR ( -1= ParamItemID2 AND ItemID= ParamSessionItemID)

to:
SELECT ItemID, ItemCatID, ItemName, ItemShortDesc, ItemLongDesc, ItemPrice, ItemSKU, ItemThumb, ItemImage, ItemWeight
FROM items
WHERE ItemID = ParamItemID

and delete the ParamItemID2 and ParamSessionItemID variables.

next, find the following code block:

php:
<?php

// WA eCart Redirect
if ($Dean_Test_Cart_1->redirStr != "")     {
  
header("Location: ".$Dean_Test_Cart_1->redirStr);
}
?>




and move it so it is just before the doctype tag.

for the view cart, you need to add the cart page name to the second parameter.

change:
onclick="MM_goToURL('plugins/parent','')

to:
onclick="MM_goToURL('plugins/parent','cart.php')

Sign in to reply to this post

deanmale2001272549

Send Form in Browser, Auto- Updates Quick Cart Quantity

Thanks Jason for help!

Still- As I hit 'Add to Cart' the (first time) in item_Details.php, it does not add to quick cart.

If I go to the quick cart on index.php, it updates first time, on first click, from the page, item_Details.php.

Again, if I 'reload' item_Details.php in browser, quick cart will update. (By Qty. 1)
If I go to index.php (to check quantity update from previous page I was on, item_Details.php) and then go back to that page [item_Details.php], it then updates first 'Add to Cart' that did not work while on the page [items_Details.php] the first time. (Same as a reload, I guess.)

Also, anytime I get the drop down alert to 'Send Form' in Browser, it Auto- Updates Quick Cart Quantity by 1. (I get this alert as I ping- pong between index.php and item_Details.php.)

Lastly, I made a cart.php page to come up as I press the 'View' button on quick cart, index.php, no cart.php page comes up. Nothing comes up.

I assume I have to build a cart.php or cart_Details.php page from scratch, as I did not see it in the eCart Sample Store Original Files that I am obviously working off of. Either way, I built a dummy page (cart.php) with text, nothing comes up.

Attached Files
Eratic_Update_2_eCart.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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