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 4.5.2 rewriting postage and tax rules :-(

Thread began 3/06/2010 4:08 am by jernej | Last modified 3/09/2010 1:47 pm by Eric Mittman | 595 views | 1 replies |

jernej

ecart 4.5.2 rewriting postage and tax rules :-(

Hi there

i entered a postage rule and in the code it was:

<%
function WAEC_eCart1_PostninaPravne2()
totalShipping = 0
if (true AND ((cStr(Session("tip")) = "1") AND (WA_eCart_TotalColumn(eCart1, "Quantity") > 5))) then
totalShipping = totalShipping + 1.67'Result
end if
WAEC_eCart1_PostninaPravne2 = WA_eCart_FormatNumber(totalShipping, eCart1.ForceDecimalsC, eCart1.DecimalPlacesC)
end function
%>

The next time I opened GUI and this discount it said Custom rule :-( What is worse is every time I open GUI and chang something so that eCart1_VB gets rewritten, I get this in the postage, which makes error in page:

<%
function WAEC_eCart1_PostninaPravne2()
totalShipping = 0
if (true AND ((WA_eCart_ConditionalTotal(eCart1, "Quantity", "Tax", "0,2") > 0) or cDBL(WAEC_eCart1_PostninaPravne2()) or cDBL(WAEC_eCart1_PostninaPravne1()) )) then
'Result
end if
WAEC_eCart1_PostninaPravne2 = WA_eCart_FormatNumber(totalShipping, eCart1.ForceDecimalsC, eCart1.DecimalPlacesC)
end function
%>

It is rewriting some other rules as well, like discount rules. I know if I change something in the source code it get's rewritten but this are standard rules I set using GUI only.

Another thing is I made a custom variable names test and I haven't included it in any calculation. Now using the WA_eCart_ConditionalTotal in discount it is not listed in GUI at all. I have to manually correct it in the code and it works. Until next time I open GUI and is lost again to the other fiesd that exists.

I hate opening GUI now :-(

Sign in to reply to this post

Eric Mittman

I have opened a ticket for you on this issue so that we can look into it further. To update the ticket login and visit your support history.

supporthistory.php

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