close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart shipping charges

Thread began 1/29/2015 4:35 pm by Kumel | Last modified 2/03/2015 12:13 pm by Jason Byrnes | 650 views | 9 replies |

Kumel

ecart shipping charges

I wanna know about how to add shipping charges from by choosing checkbox as attached.

Can these are my codes for shipping charges:

<p>
<label>
<input name="RadioGroup1" type="radio" id="RadioGroup1_0" value="0" checked>
</label>
<label for="RadioGroup1_0" class="checkbox">Standard Delivery <span>FREE <abbr class="sep">|</abbr> Delivery in 2 to 4 Business Days</span></label>
<br>
<label>
<input type="radio" name="RadioGroup1" value="100" id="RadioGroup1_1">
</label>
<label for="RadioGroup1_1" class="checkbox">Express Delivery <span>Rs. 100 <span class="sep">|</span> Delivery in 1 to 2 Business Days</span></label>
<br>
</p>



one has 0 value other has 100.

0 & 100 are shipping charges.

So i want it to reflect as shipping charges on confirm page. How do we do this?

FYI:
Attached files are from checkout.php page only.
Regards

Sign in to reply to this post

Jason ByrnesWebAssist

use the set session value behavior to save the shipping selection to a session variable.

Create a shipping rule for express delivery and use the based on session variable trigger so it only applied the rule if the session uses the express shipping value.

Sign in to reply to this post

Kumel

ok i got no results.

*use the set session value behavior to save the shipping selection to a session variable.
-i did this. screen shot attached.

*Create a shipping rule for express delivery and use the based on session variable trigger so it only applied the rule if the session uses the express shipping value.
- NOT SURE IF I DID IT RIGHT. please correct me if i m wrong. ( another screenshot attached)


These are the codes:

<label>

<input name="RadioGroup1" type="radio" id="RadioGroup1_0" value="0" checked>


</label>
<label for="RadioGroup1_0" class="checkbox">Standard Delivery <span>FREE <abbr class="sep">|</abbr> Delivery in 2 to 4 Business Days</span></label>
<br>
<label>


<input type="radio" name="RadioGroup1" value="100" id="RadioGroup1_1">



</label>
<label for="RadioGroup1_1" class="checkbox">Express Delivery <span>Rs. 100 <span class="sep">|</span> Delivery in 1 to 2 Business Days</span></label>



php pages also attached.

checkout-billing-details.php is checkout page.
&
checkout-delivery.php is confirm.php page.


Regards

Sign in to reply to this post

Jason ByrnesWebAssist

1) on the checkout-billing-details.php page, the action of the form is to post to the checkout-delivery.php page:
<form name="ecart_checkout_form" action="checkout-delivery.php" method="post">

Rule # 1 when working with forms:
All Form Processing must occur on the action page.

this means: you need to apply the behavior to set the session to the action (checkout-delivery.php) page.

2) in your shipping rule, you have the trigger:
Number of Items == 0

this will cause the shipping to apply only if the cart is empty, change that to > 0

Sign in to reply to this post

Kumel

yet not working.

i think i went wrong in ecart shipping rule.

Attached.

Shipping charges appears but price is $productprice+$100.

I just want seperate $100 added as shipping charges.


Regards

Sign in to reply to this post

Kumel

looks like i got it now :)

flat rate :)

Regards

Sign in to reply to this post

Kumel

well now it works fine. had a small doubt now my checkout_success.php page. It is empty, so how do we show some results from confirm.php page?

Like Order ID:
Order Amount:
Like creating in a Bill Format all data from previous page ie confirm.php

..


Private Message..

Sign in to reply to this post

Jason ByrnesWebAssist

Use the session variable bindings on the success page to display the order number and other information.

Sign in to reply to this post

Kumel

attached is a success page. i can not find anything related to order on session binding.

Sign in to reply to this post

Jason ByrnesWebAssist

the store order summary is saving the order ID to a session named:
eCart1_OrderID

<?php echo($_SESSION['eCart1_OrderID']); ?>

Sign in to reply to this post
loading

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