WooCommerce - excelling eCommerce
[resolved] Where is the code that determines order_item_id? (2 posts)

  1. TimoVeld
    Posted 2 years ago #

    I've got a webshop running that has products with variations. When I add the same product with the same variation, I want it to generate a new order_item_id, in stead of combining the two under the same order_item_id.

    I can't seem to find the bit of code that is responsible for generating the order_item_id.

    Could anyone tell me where this bit of code is located?


  2. TimoVeld
    Posted 2 years ago #

    If anyone still needs this. It's located in class-wc-cart.php.
    Changed to resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic