close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DW questions-presales

Thread began 5/01/2010 11:24 am by lemurs406415 | Last modified 5/05/2010 12:39 pm by Jason Byrnes | 1024 views | 3 replies |

lemurs406415

DW questions-presales

I have tried to contact sales but cannot get an answer so am posting here. We need to build a cart, we are not developers but know some basic things and have managed to build our site with DW CS3, we just upgraded to DW CS5. We have tried CS Cart but it isn't DW friendly unless you really know your code. We have tried ecommercetemplates.com but found it hard to intergrate into our site plus it doesn't have the option to have multiple shippers for customers.
My questions here are 1. does this ecart have the multiple shipper option?
2. can we upload our own design and intergrate it into our site?
3. the demo video said there is no backend so which extentsion do we need for that?
thanks

Sign in to reply to this post

Jason ByrnesWebAssist

1) There is not built in multiple shipper option, but it can be accomplished with a little work.

the basic idea is to create a select list for the different shipping options, on the checkout page:

<select name="shippingOption">
<option value="FedEx">FedEx</option>
<option value="UPS">UPS</option>
</select>



Then on the confirm page, crate a hidden form element with the same name to capture the value that was posted:

php:
<input type="hidden" name="shippingOption" id="shippingOption" value="<?php echo((isset($_POST["shippingOption"]))?$_POST["shippingOption"]:""); ?>" />



Using the eCart Set Session Value server behavior, capture the selected shipping option in a session variable.
Go to Window -> Server Behavior.

Click the plus button in the server behaviors window and select eCart -> General -> Set Session Value.

set the name to "shippingOption"

Set the trigger to any form submit.

for the value, click the lightning bolt and select the shippingOption form element.


Then apply the FedEx and UPS server behaviors to the confirm page.

the last step is to manually add an if statement around the code for each shipping type so it will only be used if it was selected:

php:
<?php if((isset($_SESSION["shippingOption"]))?$_SESSION["shippingOption"]:"") && $_SESSION["shippingOption" == "FedEx"); { ?>

<fed ex code>
<?php ?>



php:
<?php if((isset($_SESSION["shippingOption"]))?$_SESSION["shippingOption"]:"") && $_SESSION["shippingOption" == "UPS"); { ?>

<ups code>
<?php ?>



2) Yes, you can use your own design with eCart

3) The extensions needed to create the back end are DataAssist and Security Assist at a minimum. There is a tutorial for creating The admin back end on the Data Assist support page:
dataassist/

look in the how to section.

Sign in to reply to this post

lemurs406415

Is it as complicated as it looks or could we just follow those directions you just gave? If we subscribe instead of by, build what we need then cancal the subscription can we do that without losing our cart?

Sign in to reply to this post

Jason ByrnesWebAssist

It looks more complicated than it really is.

just keep in the back of your mind a picture of the flow:

On Checkout page:
-Select list to select sipping service

On Confirm:
-Capture selected service in session variable
-Capture selected service in hidden form element
-Trigger selected service using if statement.


If you cancel the subscription, it will not effect the pages you create with the tools, they will still function.

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