• Resolved AliG1000

    (@alig1000)


    I’d like to do something a bit different. A user should be able to enter xy coordinates into a form, and then click a button to create a new product. This product can then be added to their shopping cart. How do I start going about this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Danny Santoro

    (@danielsantoro)

    Automattic Happiness Engineer

    This would be a very custom bit of code, to allow the user to create a product based off of a few different things.

    If it’s XY coordinates then I assume it’s part of a map – the best approach would be to have the set price of whatever the item would be, then use Product Add-Ons to let the user enter the coordinates, like so: https://wpsantoro.mystagingwebsite.com/product/custom-map/

    Image here if the product page gets modified or moved: http://cld.wthms.co/UiHOo0

    Otherwise, if the price varied based on coordinates, you would likely need a very different approach. Any extra details about what it is in particular you’re trying to sell would help a lot.

    Thread Starter AliG1000

    (@alig1000)

    I think this will work – thank you ever so much for spending the time to answer this!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘User-created new product’ is closed to new replies.