I am using Perch Shop and I have imported a lot of products. Now I would like to make a collection which I attach to a certain product, by using the same slug for the product and the collection item for example. I want to create a field in the collection which will be used as the price of the product, so this collection item field will overwrite the price of the product.
What would be the best solution to achieve this?
I tried overwriting the product price by setting the price variable, but no luck.
On the product page I am outputting the collection with the same slug. Retrieving the price field from the collection and trying to overwrite the original product price field with this value.