Close

Modify the plugin

TimCools
8 years ago
#9825 Quote
Avatar
  • 5
Hi, 

We are implementing a custom birth registry and we would like to implement following features on check-out:
- In some cases we need to offer the user the possibility to select a shipping address of another user. When the cart is checked-out then the order needs to be sent to this address.
- In some cases we need to add a personal message to the order. So we need to add an input panel on the check-out page, and to store the data when the order is placed.

How can we start with this modification?

Thanks for your help,

Tim
hristian.dimov
8 years ago
#9828 Quote
Avatar
  • Moderator
  • 386
TimCools wrote:
Hi, 

We are implementing a custom birth registry and we would like to implement following features on check-out:
- In some cases we need to offer the user the possibility to select a shipping address of another user. When the cart is checked-out then the order needs to be sent to this address.
- In some cases we need to add a personal message to the order. So we need to add an input panel on the check-out page, and to store the data when the order is placed.

How can we start with this modification?

Thanks for your help,

Tim


Hi Tim,

1. This is not supported by nopCommerce out of the box and our plugin does not support it too. However, you can use ActionFilters to hook to the preparing the CustomerAddresses and perform your additional logic there.

2. You can use the checkout attributes to create a multi-line textbox. In this way the customer will be able to fill the textbox with the needed text and this will be saved to the order.

Hope this helps!
Regards,
Hristian Dimov
Nop-Templates.com