Forum

Thread tagged as: Shop

Customized Product - Custom entry field for shop product

Hi! I'm wondering if there is capability to add custom entry fields to a product and have the input captured in the order. Example is a customer entering their initials for a monogram, and then adding the product to the cart.

The question was raised here quite a while ago and the functionality was on the roadmap. I don't seen it referenced in the docs; I'm running the latest version of shop. https://forum.grabaperch.com/forum/02-28-2017-custom-entry-field-for-shop-product

Thanks guys!

Olympia Kyriakides

Olympia Kyriakides 1 points

  • 2 years ago
Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Hello Olympia,

I think at the moment the closest thing to what you're describing is cart properties. Setting a cart property adds it to the whole order (so it's not for a specific item in the cart).

An example for using cart properties from the docs: https://docs.grabaperch.com/addons/shop/examples/order-confirmation/

If you want to add a cart property programmatically, you can use perch_shop_set_cart_property('property', 'value').