[Pro] Mals Ecommerce Hide Cart

http://www.malsforms.com/display-cart.html

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And this page too http://www.malsforms.com/index.html

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Dave. I am new to this and am not sure where to place the script in Freeway. Is it on the E-Buy Form or the E-Buy Button? Is it considered an Extended attribute, Form Setup, or HTML markup? Any information you can provide is much appreciated.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I didn’t read the whole thing at those links I gave you but certainly some of it will go in Page>HTML Markup

Some more may well be via Insert>Markup Item

I will try and have a closer look later for you.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you Dave. No rush. I have lots to do, as I assume you do to.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here is a quick example http://www.deltadzine.net/testcart.html

Feel free to buy a new jacket - I need the money!

This is is in its simplest form.

For implementation into your store more information is required ie how many items, how are you creating your buy now links etc. Are you using the FW shop actions or Tim’s E commerce suite http://www.freewayactions.com/product.php?id=016

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Right now there will be no more than 5 or 6 items and I am using E-buy buttons in FW and the FW shop actions. I will check-out Tim’s Ecommerce suite if you think it is a better way to go.

I would buy a jacket, but I live in sunny southern california. No need for jackets here. We all runaround in shorts all year long.

Thanks again.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If only 5 or 6 then it would be just as easy to hand code them. The reason is that there needs to be some code added to each of the ‘Buy Now’ buttons and the FW action interface doesn’t allow for this.

Tim’s suite might? I don’t have it so not sure. We will ask him.

I would buy a jacket, but I live in sunny southern california. No need for jackets here.

I will change it to a surf board then - I told you - I need the money! And BTW you sure do need a jacket in SF!

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I wrote an action that I was going to add to the Mals suite called “Mal’s Extras - Cart Total” but it never made it into the final release. I can send this to you if you already use the rest of the Action suite.

Here’s my very quick example page;
http://www.freewayactions.com/test/mals-extras/

Here’s how it works;

  1. Sketch the action onto the page where you want the cart total to appear
  2. Fill in the actions settings in the actions palette
  3. In your Mals admin area click on the Cart Setup tab, the Customize tab and finally on the Continue Shopping Button Link. Click the Append Cart Content Vars checkbox and press the submit button. Now when the buyer clicks on the Continue Shopping button in the Mals cart the data for the cart contents is passed back to your site and the JavaScript in the action uses this to keep tally of what the user is buying.

Regards,
Tim.

On 14 Jun 2011, at 21:07, DeltaDave wrote:

Tim’s suite might? I don’t have it so not sure. We will ask him.

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Now when the buyer clicks on the Continue Shopping button in the Mals cart the data for the cart contents is passed back to your site and the JavaScript in the action uses this to keep tally of what the user is buying.

Ideally what kdcs is looking for is the running total on the page without having to leave the page to go to the cart and back as in my example http://www.deltadzine.net/testcart.html - can your action be set to do that?

My understanding is that it needs the following added to the form

<input type="hidden" name="nocart">

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave,
Sorry I must have missed that in the original post. No the Actions can’t do that without resorting to popping the lid open with Source Code Snooper - which I wouldn’t suggest. As you previously mentioned it may be easier, for the time being at least, to add these buy forms in as markup items.
Regards,
Tim.

On 15 Jun 2011, at 00:01, DeltaDave wrote:

Ideally what kdcs is looking for is the running total on the page without having to leave the page to go to the cart and back as in my example http://www.deltadzine.net/testcart.html - can your action be set to do that?

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

to add these buy forms in as markup items.

Thats what I thought - and with only 5 or 6 not so difficult a task.

Thanks Tim


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you everyone for the effort and quick response. I will add the forms in as markup items.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Remembering the script that has to go in the before end head slot of Page>HTML Markup

<script type="text/javascript">
function upDate(){
qty="0"; sub="0.00";
querystring=parent.document.URL.substring(document.URL.indexOf('?')+1);
if (querystring.charAt(0)!="q"){querystring="";}
if (querystring){
today=new Date();
millisecs_in_half_hour=1800000;
expireDate = new Date(today.getTime() + millisecs_in_half_hour);
document.cookie=querystring+"&exp="+expireDate+";path=/;expires="+expireDate.toGMTString();
}else{
if (document.cookie !=""){
thisCookie=document.cookie.split("; ");
for (i=0; i<thisCookie.length; i++) {
if (thisCookie[i].split("=")[0]=="qty"){
querystring=thisCookie[i];
expireDate=thisCookie[i].split("exp=")[1];
}}}}
if (querystring){
querystring=querystring.split("&");
qty=querystring[0].split("=")[1]; if (qty==""){qty="0";}qty=parseInt(qty);
sub=querystring[1].split("=")[1]; if (sub==""){sub="0.00";}
}
update=document.write("Items in cart: "+qty+"<br>Subtotal: "+sub+"");
return update;
}
</script>

The insert Markup Item code

<script type="text/javascript">upDate()</script>

Which should be positioned where you want the cart info to appear.

And the

<input type="hidden" name="nocart">

That has to be added to each item form.

And dont forget in Mals go to the Continue Shopping Button Link. Click the Append Cart Content Vars checkbox and press the submit button.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Got it! Thanks again Dave.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Although this is an old tread, it is quite close to my question.
I am building a simple webshop for one of my clients.

http://www.outcastpictures.nl/shop/w1-wit-volume.html

He is going to sel wines in boxes, the look of the site should be very simple. The design is far from final, for now I am working on the functionality.
This tread already helped me to show the cart on the pages. Now I ‘only’ need to add the products to the cart without leaving the page.
As you can see the buy button is a graphic item, because of the design (I guess) it has to be? Is there a way to use a graphic item as a buy button and stay on the page?

Or is there a way to embed an image in a markup element?
The reason I like Freeway is, I do not understand code at all.
So if code is involved, I would need a step by step.

Many Thanks,
Erik


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

em solved, in a trail and error/more luck than wisdom kind of way…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Erik - how did you manage to get your shopping cart functioning like that - its exactly what i need!
best,
aron


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello,

having some difficlt with this

the first part of the text i put on my masterpage beffore the thing in the mark up
the second i can create a box for where the information will show up… not realy needed or wanted, but good to know i can do that.

but then the third part of code… i can’t figure out where to put that part of html.

i’m using e-buy buttons

all items of the shop and the buttons are put into a table.

i’m using the actions wich came with freeway…

can anyone tell me where i put the third part of the html, or if i do need new e-buy buttons?

or is there a action these days to hide the cart?


freewaytalk mailing list
email@hidden
Update your subscriptions at:

can anyone tell me where i put the third part of the html, or if i do need new e-buy buttons?

The Buttons are actually hand coded - but it isn’t difficult.

You can download the example from http://www.deltadesign.co/downloads/testcartarchive.zip

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options