fzaninotto/faker, twig/extensions are no longer used.app/functions/smarty_plugins/ to \Tygh\SmartyEngine\Extensions\TyghExtension.\Tygh\SmartyEngine\Core::addExtension(ExtensionInterface $extension). Example in call_requests add-on.\Tygh\SmartyEngine\Core::addComponentDir(string $dir).symfony/lock updated to version 5.4.21.waitAndSave() method. If your store used this method, additionally implement the BlockingStoreInterface interface in the store.waitAndSave() method, to continue its work in the new version, replace class YourStore implements StoreInterface with class YourStore implements StoreInterface, BlockingStoreInterface.\Tygh\SmartyEngine\Core::__($var, $params = array())\Tygh\SmartyEngine\Core::loadPlugin()\Tygh\SmartyEngine\Core::setPluginsDir()\Tygh\SmartyEngine\Core::registerFilter()// Old:
function fn_attach_image_pairs($name, $object_type, $object_id = 0, $lang_code = CART_LANGUAGE, array $object_ids = [])
// New:
function fn_attach_image_pairs($name, $object_type, $object_id = 0, $lang_code = CART_LANGUAGE, array $object_ids = [], $allowed_file_size_bytes = null)
\Tygh\SmartyEngine\Core::addComponentDir(string $dir)\Tygh\SmartyEngine\Core::getComponentDirs()This hook is executed before checking the category update permissions. The hook allows you to change the parameters of the check:
fn_set_hook('is_category_update_allowed_pre', $category_data, $category_id, $lang_code, $auth, $result);
This hook is executed after checking the category update permissions check. The hook allows you to change the result of the check:
fn_set_hook('is_category_update_allowed_post', $category_data, $category_id, $lang_code, $auth, $result);
This hook is executed after fetching the data of the chosen payment method. The hook allows you to restrict order placement:
fn_set_hook('allow_place_order_check_payment', $cart, $auth, $parent_order_id, $payment_method_data, $total, $result);
This hook is executed after loading the request data for payment buttons. The hook allows you to modify the payment request data:
fn_set_hook('stripe_data_loader_load_payment_request_data_post', $payment_buttons, $product_id, $product_options, $user_data, $shipping_id, $cart, $product, $shippings);
This hook is executed before the rules that restrict access to updating a store location. The hook allows yout to change the current result or runtime params before the rules are applied:
fn_set_hook('check_store_location_update_allowed_pre', $store_location_id, $result);
This hook is executed after the rules that restrict access to updating a store location. The hook allows you to change the result:
fn_set_hook('check_store_location_update_allowed_post', $store_location_id, $result);
This hook is executed before the rules that restrict access to updating a shipment. The hook allows yout to change the current result or runtime params before the rules are applied:
fn_set_hook('check_shipment_update_allowed_pre', $shipment_id, $result);
This hook is executed after the rules that restrict access to updating a shipment. The hook allows you to change the result:
fn_set_hook('check_shipment_update_allowed_post', $shipment_id, $result);
This hook is executed before the rules that restrict access to updating a product bundle. The hook allows you to change the current result or runtime params, before the rules are applied:
fn_set_hook('check_product_bundle_update_allowed_pre', $bundle_id, $result);
This hook is executed after the rules that restrict access to updating a product bundle. The hook allows you to change the result:
fn_set_hook('check_product_bundle_update_allowed_post', $bundle_id, $result);
The Commission includes setting of the Stripe Connect Payments add-on has been removed. Previously, it allowed makreptlace owners to collect not only order commission, but also past debts of sellers to the marketplace. That was neither transparent, nor consistent with other multiparty payment methods in CS-Cart, and could lead to issues. Starting with version 4.19.1, Stripe Connect will only collect what the seller owes the marketplace from this particular transaction. For past debts, we recommend the standard Vendor-to-Admin Payments add-on.
Deleted functions:
\Tygh\Addons\StripeConnect\PayoutsManager::acceptPayouts()\Tygh\Addons\StripeConnect\PayoutsManager::getPendingPayouts()\Tygh\Addons\StripeConnect\PayoutsManager::getPendingPayoutsFee()Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.