I don't know how to implement add cart function in creating my ordering system using oracle 10g forms builder. I have a list of products in my table and I want to put a button beside each item which users can input how many they want to add in the cart, and display the total price that is included inside the cart. thanks in advanced.

有帮助吗?

解决方案

You need to add an unbound (non-database) text item (for the quantity) and a Button to the database block.

In the when-button-pressed trigger for the button, you can then evaluate the price x amount and add the selected item/count to your cart...

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top