The latest destoon5 has added the function of product attributes to the products in the mall. You can use three product attributes
and mark them with "49-3-0-0" in the code. The selected product and attributes, the first number is the id of the product, and the last three represent the attribute values corresponding to the product. When processing the order, I found some problems: after generating the order, the corresponding product is generated When evaluating data, the code is as follows
where the product id directly corresponds to $k, and from this code we can know that the format corresponding to $k is in the form: 49-3-0-0, and in the product evaluation data When inserting into the table, the product with the product ID of 49-3-0-0=46 is programmed to be inserted. That is to say, the evaluation data with the product ID of 49 was originally intended to be generated, but instead the evaluation data with the product ID of 46 was generated. So please be careful when using it! ! ! !