close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Basic shipping

Thread began 5/11/2011 7:38 pm by kevin.preston332611 | Last modified 5/23/2011 10:40 am by Jason Byrnes | 1383 views | 9 replies |

kevin.preston332611

Basic shipping

Hi,

I am trying to add a basic $7.50 flat rate shipping cost to any order but I cant see where to add it. I have tried this in WA_eCart_Definition_PHP.php file:


//eCart Rule
//eCart Rule
function WAEC_WA_Store_Cart_Shandard() {
$totalShipping = 7.50;
// if (true && ((sizeof($this->Items) > 0))) {
// $totalShipping += 7.50;//Result
// }
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}

but that didn't work and also checkout.php I tried:

$WA_PP_ECO_Set_params[0][$nextIndex] = "ShippingTotal";
$WA_PP_ECO_Set_params[1][$nextIndex] = "7.50";
$nextIndex = count($WA_PP_ECO_Set_params[0]);

neither one added the amount when the user goes to PayPal

the website is sugarforkids.co.nz

CHeers,
Kevin.

Sign in to reply to this post

Jason ByrnesWebAssist

what version of power store?



Version 4.5 allows you to configure custom shipping options in the store Admin section.

Sign in to reply to this post

kevin.preston332611

Originally Said By: Jason Byrnes
  what version of power store?



Version 4.5 allows you to configure custom shipping options in the store Admin section.  



PowerStore2

Sign in to reply to this post

Jason ByrnesWebAssist

In power store 2, you would need to use eCart to update the power store cart code to include your custom shipping.
]

Sign in to reply to this post

kevin.preston332611

Hi,

Back when I developed the site I subscribed to that plan that gave me access to eCart2. Then they took it away so I don't have it any more. In any case 3Cart simply edits files you can edit yourself. I just need to know where this needs to be changed as the changes above do not seem to carry through to PayPal.

I know there have been changes since PayPal introduced its new interface. Does anyone know what these are and where I can manually edit the code to make it work.

Cheers,
Kevin.

Sign in to reply to this post

Jason ByrnesWebAssist

hand editing the shipping is not supported in Power Store. you need to use eCart to implement this.

Sign in to reply to this post

kevin.preston332611

I don't understand why I need to buy another component just to implement something simple like flat rate shipping in a component that cost nearly $200.

Sign in to reply to this post

Jason ByrnesWebAssist

Power Store 2 does not offer support for flat rate shipping.
To add flat rate shipping, you need to use the tool that was used to create the checkout functionality of PowerStore; eCart.

Sign in to reply to this post

kevin.preston332611

Hi,

Listen, when I built this site I bought PowerStore2 and subscribed to the extension subscription which allowed me to edit the shipping details. Since then you pulled the plug on the subscriptions. you will see from my history I have bough a good few product from you all I want is a little help hand coding a fixed cost onto the cart for shipping.

Please can you help a good customer out?

Cheers,
Kevin.

Sign in to reply to this post

Jason ByrnesWebAssist

if there where a simple way to hand code this, I would certainly help out. I think if you look through my posting history, you will see a number of examples where I help out with hand coding.

There is no simple code fix to this though, it is a code change that needs to occur in a number of places.

This has nothing to do with your purchase history, it is simply too complex a code change for me to be able to offer support for it.

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