i have build a project where wordpress themes can be purchased. Build with Codeigniter
how to implement multiple coupons for a single Theme / Item for % discount.
i need some help regarding database design.
The above table data shows that you have 4 coupon data and 3 themes. The third table relate the theme to coupon. It means that your theme ID 1 is related to coupon 2 and 3. Theme ID 2 is related to coupon 2 and 4. Theme 3 has no coupon. It is a many-to-many relationship.