Title: Add linked products programmatically
Last modified: March 20, 2024

---

# Add linked products programmatically

 *  Resolved [dionelab](https://wordpress.org/support/users/dionelab/)
 * (@dionelab)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/add-linked-products-programmatically/)
 * Hi,
 * It’s possible to link products programmatically with snippet or custom code?
 * I like to use your plugin but I need to link the products from external ERP program
   without add manual from plugin admin page

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

 *  Plugin Support [Janilyn T](https://wordpress.org/support/users/janilyn409/)
 * (@janilyn409)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/add-linked-products-programmatically/#post-17520055)
 * Hi [dionelab](https://wordpress.org/support/users/dionelab/),
 * It’s impossible to create linked variations using shortcode or snippet. Users
   must enter the source of products manually and enable linked the attributes. 
   Our plugin will need to check the conditions and display the linked variations
   in the frontend from the linked variation page.
 * Best regards.
 *  Thread Starter [dionelab](https://wordpress.org/support/users/dionelab/)
 * (@dionelab)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/add-linked-products-programmatically/#post-17520066)
 * Hi,
 * good news. There are any instructions for that ?
 *  Plugin Support [Janilyn T](https://wordpress.org/support/users/janilyn409/)
 * (@janilyn409)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/add-linked-products-programmatically/#post-17525837)
 * Hi [dionelab](https://wordpress.org/support/users/dionelab/),
 * I meant you CAN’T do it with our plugin. It’s a No to your question, unfortunately.
   The settings for linked variations must be done manually.
 * Please refer to the doc here for more instructions: [https://doc.wpclever.net/wpclv/](https://doc.wpclever.net/wpclv/)
 * Best regards.

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

The topic ‘Add linked products programmatically’ is closed to new replies.

 * ![](https://ps.w.org/wpc-linked-variation/assets/icon-128x128.png?rev=2515968)
 * [WPC Linked Variation for WooCommerce](https://wordpress.org/plugins/wpc-linked-variation/)
 * [Support Threads](https://wordpress.org/support/plugin/wpc-linked-variation/)
 * [Active Topics](https://wordpress.org/support/plugin/wpc-linked-variation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpc-linked-variation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpc-linked-variation/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Janilyn T](https://wordpress.org/support/users/janilyn409/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/add-linked-products-programmatically/#post-17525837)
 * Status: resolved