Jump to content

 

sddev

Member Since 05 Dec 2018
Offline Last Active Jul 28 2020 03:44 PM
-----

Topics I've Started

Send Order Details To Carrier

23 April 2020 - 06:12 PM

We need to add a custom carrier, but we need when the vendor maybe chooses the carrier, it sends the order to the carrier, and when the order is canceled or updated, the carrier should know about it. We already have the carrier API, but any hints on how to apply that on cscart?


Override Fn_Format_Price Function

04 April 2020 - 12:50 AM

Hello, I need to round the price before it gets displayed. The issue is I cant create an addon to override fn_format_price function in the fn.common.php file. It worked when I directly edit the function in the file, but I don't wanna edit core files. What's the solution?

I tried creating an addon and install it but didn't work

init.php:

fn_register_hooks(
'fn_format_price'
);

 

 

func.php


function fn_round_prices_fn_format_price($price = 0, $currency .....