|

Your Add-On Needs A New Hook In Cs-Cart. Post It Here.
Posted 21 May 2018 - 10:09 AM #161
Team of SoftSolid
cs-cart.pl, marketplace
We specialize in creating the highest quality addons, safe, useful and flexible
Posted 21 June 2018 - 06:06 AM #162
Please add hook to fn_add_user_data_descriptions . We need this hook to fill description for districts & wards in countries that have districts and wards dataset.
Posted 22 June 2018 - 09:50 PM #163
Please add a hook in the order_management/components/products.tpl file for order_management:extra_list after the foreach loop of products so additional product items (certain fees or services) can be listed with the products similar to orders::extra_list.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 26 June 2018 - 11:54 PM #164
Please add the following hook to app/addons/vendor_plans/Tygh/Models/Company.php.
In the function periodicityPayments(), please change code to read:
$plan_ids = VendorPlan::model()->findMany(array( 'periodicity' => array('month', 'year'), 'price_from' => 0.01, 'get_ids' => true, )); fn_set_hook('vendor_plans_periodicity_payments_plan_ids', $plan_ids); if ($plan_ids) {
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 17 July 2018 - 02:13 AM #165
So the last time cs-cart responded on this thread was March 27th, about 3 1/2 months ago.
The whole point of requesting hooks is to know what's going to be delivered as a hook in the next release. If you don't agree with our proposed names/parameters or methods, that's important to know too.
Please give this just a touch of priority. Developer requested hooks are important so we can continue to offer addon products that enhance cs-cart. I do note that Simtech hook requests NEVER get posted here so we never know they are coming and they somehow magically appear in the next release. A little fairness across "3rd party developers" would be helpful too.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 24 April 2019 - 12:52 PM #166
function fn_fill_contact_info_from_address($data, $main_address_zone = null, $alt_address_zone = null) { fn_set_hook('fill_contact_info_from_address_pre', $data, $main_address_zone, $alt_address_zone);
Posted 24 April 2019 - 12:56 PM #167
I need a hook in fn.users.php in fn_delete_product_filesfunction fn_fill_contact_info_from_address($data, $main_address_zone = null, $alt_address_zone = null) { fn_set_hook('fill_contact_info_from_address_pre', $data, $main_address_zone, $alt_address_zone);
Correction: Please ignore "fn_delete_product_files".
function fn_fill_contact_info_from_address($data, $main_address_zone = null, $alt_address_zone = null) { fn_set_hook('fill_contact_info_from_address_pre', $data, $main_address_zone, $alt_address_zone);
Posted 07 October 2019 - 02:41 PM #168
I'm seeking add-on that will allow me to host giveaways in our CS-Cart.
*Landing Page
*Entry Submission Form
Posted 07 October 2019 - 06:38 PM #169
I'm seeking add-on that will allow me to host giveaways in our CS-Cart.
*Landing Page
*Entry Submission Form
Can you be more specific about your needs? Happy to help you but a "giveaway" could mean many different things and have many different implementations. You can contact me directly via the link in my profile to get a free quote if you can provide reasonable functional specification.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 08 October 2019 - 03:20 PM #170
I believe it's worth creating an add-on for resale, so other retailers can use it as well. Giveaways are the most effective way to drive traffic to your website page. Look at Gleam and Sidekiq for referencing your own ideas for features.
Landing Page:
*Allows Photos, Graphics, Text
*Start & End Date of Giveaway Duration.
*Announce Winner.
Submission Form:
*Allows Public to submit their information (email, shipping etc)
*Submissions are emailed to specified email address,
*Option: Random Winner is published or Retailer can choose the winner manually.
Posted 12 December 2019 - 02:17 PM #171
Hello
Please consider adding hooks.
1. fn.cart.php, function fn_normalize_amount, before return
fn_set_hook('normalize_amount ', $amount);
2. Variable $min_qty = 1; move before hook and add to hook check_amount_in_stock_before_check
fn_set_hook('check_amount_in_stock_before_check', $product_id, $amount, $product_options, $cart_id, $is_edp, $original_amount, $cart, $update_id, $product, $current_amount);
fn_set_hook('floor_to_step ', $value, $step, $floor);
fn_set_hook('ceil_to_step ', $value, $step, $ceil);
Team of SoftSolid
cs-cart.pl, marketplace
We specialize in creating the highest quality addons, safe, useful and flexible
Posted 07 January 2020 - 11:55 AM #172
Hi,
we need a hook
fn_set_hook('get_simple_countries_post', $countries);
at function: fn_get_simple_countries
on file: app\functions\fn.locations.php
So we can modify the countries returned by this function.
Posted 13 February 2020 - 05:34 PM #173
fn_cart.php -> fn_generate_ekeys_for_edp
We need a hook somewhere around
$activations = db_get_hash_single_array("SELECT ......
(preferably before it to add custom conditions, joins, ...)
or before
db_query('REPLACE INTO ?:product_file_ekeys ?e', $_data);
(or in both places)
So that we can exclude some files from being inserted/updated
May I suggest you use call_user_func + hooks widely so one can replace any function entirely
Posted 03 March 2020 - 09:12 PM #174
Hi,
I need a hook in reward_points/func.php in fn_change_user_points
UPD: the method code needs to be slightly adjusted (to not "return" inside the if statement).
Providing the full resulting method:
function fn_change_user_points($value, $user_id, $reason = '', $action = CHANGE_DUE_ADDITION) { $value = (int) $value; $result = ''; if (!empty($value)) { $current_value = (int) fn_get_user_additional_data(POINTS, $user_id); fn_save_user_additional_data(POINTS, $current_value + $value, $user_id); $change_points = array( 'user_id' => $user_id, 'amount' => $value, 'timestamp' => TIME, 'action' => $action, 'reason' => $reason ); $result = db_query("REPLACE INTO ?:reward_point_changes ?e", $change_points); } fn_set_hook('change_user_points_post', $value, $user_id, $reason, $action); return $result; }
The reason:
we want to integrate existing web service with the marketplace,
and this hook will help to syncrhonize the bonus points data.
Thank you in advance,
Sergey.
Edited by sergeyponomarev, 10 March 2020 - 11:14 PM.
Posted 06 March 2020 - 11:43 AM #175
Hello
Please consider adding hook
fn_set_hook('post_update_product_prices', $v, $_product_data, $table_name, $company_id);
fn_catalog.php in function fn_update_product_prices after unset($v['type']);
Best regards
Robert
Team of SoftSolid
cs-cart.pl, marketplace
We specialize in creating the highest quality addons, safe, useful and flexible
Posted 17 March 2020 - 02:18 PM #176
Hello
Please consider adding hook
fn_set_hook('sra_vendors_getadditionaldata_post', $company_data, $lang_code);
app/addons/storefront_rest_api/Tygh/Api/Entities/v40/SraVendors.php in function getAdditionalData before return $company_data;
Thank you
Bjoern
Posted 03 November 2020 - 09:00 PM #177
Hello
Please consider adding hook
fn_set_hook('post_get_data_from_request_body', $params, $method, $content_type);
/app/Tygh/Api/Request.php in function getDataFromRequestBody before return $params
Best regards
Robert
Team of SoftSolid
cs-cart.pl, marketplace
We specialize in creating the highest quality addons, safe, useful and flexible