close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart 5 - third day use - new cart columns not in calc dropdown

Thread begun 2/11/2010 2:15 am by web_assist_mail157665 | Last modified 2/18/2010 6:53 pm by Dani Chankhour | 3373 views | 13 replies |

web_assist_mail157665

ecart 5 - third day use - new cart columns not in calc dropdown

Wanted to set up individual items to apply VAT to.

Added Taxable column to Cart as number
Added taxable column to DB as int
Added Taxable =1 to add to cart server behaviour

Go to....TAX CALC

I dont get
If item TAXABLE exists
instead of a dropdown there's a text box ????? - see attached
AMEND: OK I can manually enter Taxable - but why do the other options use a dropdown ?


Went to add

Total of [TotalPrice] where [taxable] has a value of [1] [times] [<your tax rate>]
to tax calculation

[Taxable] ISN'T in the calculation dropdowns
AND A column I deleted from ecart (Duration) is still there

see attached

I just can't see sense in what is going on here?

AMEND: Yet another bug?
these columns have been added but are not shown in the calculation dropdowns at the bottom of the tax cal wizard
Also mentioned in this thread
showthread.php?t=4919


Lastly

Do it by hand

function WAEC_eCart1_TaxOnlyItems() {
$totalTax = 0;
if (true && (($this->InCart("Taxable") == false))) {
$totalTax += ($this->ConditionalTotal("TotalPrice", "Taxable", "1") * .175);//Result
}
return WA_eCart_FormatNumber($totalTax, $this->ForceDecimalsC, $this->DecimalPlacesC);
}



why does this function only work if ==false ??
if (true && (($this->InCart("Taxable") == false))) {

rather than
if (true && (($this->InCart("Taxable") == True))) {

Sign in to reply to this post

web_assist_mail157665

Found a more flexible way

Add column ProductTaxRate to the product table in the DB

Add Column Taxrate to ecart
get it into the cart - add to cart button binding
Taxrate=<?php echo $row_rs_products['ProductTaxable']; ?>

add Calculation ItemTax = [Price] * [Taxrate]*[Quantity]

then tax calc (currently cant do this as mentioned about - dropdowns don't show added values)

//eCart Rule
function WAEC_eCart1_ItemTaxVal() {
$totalTax = 0;
if (true && (($this->TotalColumn("ItemTax") > 0))) {
$totalTax += ($this->TotalColumn("ItemTax") + 0);//Result
}
return WA_eCart_FormatNumber($totalTax, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule

Sign in to reply to this post

web_assist_mail157665

so that's another bug? - anybody?

Sign in to reply to this post

Jason ByrnesWebAssist

Support is available between the hours of 9am and 5pm PST.

Th if itme in cart trigger uses the items ID value. It is used to check if an particular Item is in the cart.

the code:
if (true && (($this->InCart("Taxable") == True))) {


will only work if you set the ID for an Item to "Taxable".


I have been able to reproduce the problem you are reporting on the tax tab where the colomns are not showing correctly.


I am starting a support ticket for you so we can look into this issue further.

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

Sign in to reply to this post

web_assist_mail157665

thank you Jason

Its a bit difficult with you guys on the the far side of the states and us here in the UK
start a day with a problem here, and there's no chance of support until the evening
that said - I appreciate the difficulties

Have to say this extension has thrown up a lot of problems
that makes it doubly hard when you are coming to a product first time
it has great potential to speed the process - just wish it all worked and I wasn't under pressure to present this on Monday

Paul

Sign in to reply to this post

Jimmy Wu

I have sent you a fix for this issue. If anyone else runs into this issue, please post here and I will get the fix out to you as well.

Sign in to reply to this post

Dave BuchholzBeta Tester

Jimmy could I have a copy of this fix as well please

Thanks,

Sign in to reply to this post

Jimmy Wu

I've opened a backend ticket and sent you the fix as well.

Sign in to reply to this post

codamedia

I'll need that fix as well

Hey Jimmy - can I get that fix as well. Since this is an obvious bug - why doesn't Web Assist post a hot fix for it so everyone can take advantage of it :)

Sign in to reply to this post

codamedia

Jimmy? Or Anyone at WebAssit.

I am having these problems as well - and would like the fix that you provided the others in this forum. It's been 24 hours since my last request - so I'm trying again :)

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