How to make an attribute work in shop

I’m making a clicker game with a blank template but when I added points from my zombie game, it will not work for consumables or in shops. Can someone tell me how to make it work?

I can help if u want it easy

Ok, thank you. Can you tell me how

make me contrubitor and i can do it and i can tell u in game gt mommmm

you have a player attribute and unit attribute, put the good one in the cost

simple, make the attribute you want to be currency a player attribute
add the thing into the shop
click it in the shop
change player attribute price to however much you want
good job, it costs something