how to change name item name to product id/number to Paypal in cs-cart 4.13.
please help
|
Posted 10 October 2021 - 01:26 PM #1
how to change name item name to product id/number to Paypal in cs-cart 4.13.
please help
Posted 11 October 2021 - 08:41 PM #2
It would require a customization to append the product_code to the product description (or to replace it). Providing an example of what you have and what you want would be helpful.
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 12 October 2021 - 07:49 AM #3
It would require a customization to append the product_code to the product description (or to replace it). Providing an example of what you have and what you want would be helpful.
does it need code the paypal func in cpanel?
Posted 12 October 2021 - 09:19 PM #4
it requires changes in the cs-cart paypal addon. Not sure what your reference is to cpanel.
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 13 October 2021 - 07:50 AM #5
it requires changes in the cs-cart paypal addon. Not sure what your reference is to cpanel.
yes..i mean addon
can you teach me ..what to change in paypal addon?
thank you
Posted 18 October 2021 - 05:01 AM #6
If you use PayPal Express, in the following file
app/addons/paypal/paypal_express.functions.php
replace
$order_data['L_PAYMENTREQUEST_0_NAME' . $product_index] = $product['product'];
with
$order_data['L_PAYMENTREQUEST_0_NAME' . $product_index] = $product['product_id'];
For other PayPal services open
app/addons/paypal/func.php
and change
$v['product'] = strip_tags($v['product']);
to
$v['product'] = strip_tags($v['product_id']);
(!) Not tested
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)
Posted 24 October 2021 - 05:51 AM #7
If you use PayPal Express, in the following file
app/addons/paypal/paypal_express.functions.php
replace
$order_data['L_PAYMENTREQUEST_0_NAME' . $product_index] = $product['product'];with
$order_data['L_PAYMENTREQUEST_0_NAME' . $product_index] = $product['product_id'];For other PayPal services open
app/addons/paypal/func.php
and change
$v['product'] = strip_tags($v['product']);to
$v['product'] = strip_tags($v['product_id']);(!) Not tested
thank you
really apreciated
Posted 25 October 2021 - 05:09 AM #8
You are welcome! Hope it helps you
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)