- Implemented a PHP script to delete old product combinations and recreate them based on existing attributes. - The script retrieves product details, existing combinations, and associated attributes from the database. - It deletes old combinations and their associations before inserting new combinations and linking them to shops. - The script ensures that the default combination is set correctly and clears the cache after updates.
4.4 KiB
4.4 KiB