Creating a form for checkout q2 (college project)

H

h3llz

Hello i got a table of products, but i also got a table of special offers and
another table to link them both together, theres only two types of offers,
bogoff (buy one get one free) and percentage, if the offer_type is percentage
the offer field would be how much percentage you would save, when the form
gets the price of the product (if i finish doing form from question 1 i
submitted before this). it would take the additional percentage off, and if
its bogof it would put a notice next to the price saying bogof
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top