I'm looking to pass back to the cart a modified 'each' price. How to do?
I have products sold by the yard. My script is taking the user-selected lengths and multiplying that by the cost/per and passing that back fine. What I'm getting for the 'each' price is the total, and I want the 'each' price to be the cost/per price.
Hence, 12 yards of $10/yard product will show a total of $120.00, and a price of $10/each.
How do I pass back the latter from my script? What do I talk to?
Thanks in advance.