News:

AbanteCart v1.4.2 is released.

Main Menu

Remove product name from invoice

Started by Siri M., March 11, 2014, 10:48:18 AM

Previous topic - Next topic

Siri M.

Hi, very nice cart. I'm happy with everything so far and I will be making a donation soon.

Perhaps I am overlooking this option, but I am wondering if it is possible to remove the name of the product once it goes into the billing phase, such as into Paypal, etc. As I will be selling some things of a personal and intimate nature, I would prefer if it only lists the product number, or the SKU number on the invoice. This is to protect customers privacy. For example, instead of saying "One small-size Sexy Nurse Costume - $65.95." the invoice will just say "One 235644 - $65.95."

Is this possible? Sorry if I am overlooking something in the menus.

Thanks,
Siri.

abantecart

This is possible with code modification. This is depending on what paypal payment you use.

Example of standard paypal:
Look for file /extensions/default_pp_standart/storefront/controller/responses/extension/default_pp_standart.php

Locate code:

$this->data['products'][] = array(
'name'     => $product['name'],
'model'    => $product['model'],
'price'    => $this->currency->format($product['price'], $order_info['currency'], $order_info['value'], FALSE),
'quantity' => $product['quantity'],
'option'   => $option_data,
'weight'   => $product['weight']
);


Edit it to the way you need to modify the name

Siri M.

Thanks. Works great. Now it just shows the model name. Perfect.

Thanks for your time.

Forum Rules Code of conduct
AbanteCart.com 2010 -