Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3047943
Developer reference for product bundles
Closed

Comments

  • Chris started the conversation

    Im trying to add a product bundle via php. I've added the parent product, Is there a developer reference I can refer to for assistance in adding the bundled products?

  •  767
    Janilyn replied

    Hi Chris,

    Thanks for contacting WPClever Support Forum. We're not available at the weekends so today (Monday) I am able to process your ticket.

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Chris,

    Thanks for your interest in our plugin!

    Unfortunately, we haven't developer reference yet. 

    You can follow these steps:

    1. Add parent product (bundle) with product type is "woosb"

    2. Add bundled products by adding a post meta "woosb_ids" and the value is a string https://www.screencast.com/t/GupRsJLWsa - that is a combination of products ID and the quantity of these products

    3. You can add other configurations as we did here https://www.screencast.com/t/3EU9MklN

    Best regards,
    Dustin