Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Fyoniâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #284778 |
This is what I have completed but the problem is that it doesn't parent well.
function buildUserCartDisplay($itemsInCart)
{
// Here's how you track if you need the header
$lastMerchantID = -1 ;
$html = '';
// Now loop
foreach($itemsInCart as $row)
{
// Only show merchant hea... (more) |
— | about 3 years ago |
Edit | Post #284778 |
Post edited: |
— | about 3 years ago |
Edit | Post #284778 | Initial revision | — | about 3 years ago |
Question | — |
How to to make a store tree view cart I am building an MVC cart system. I have the MERCHANTS table and the PRODUCTS table. A merchant (store) can have one or more products, everything works fine but what I want is to display products by store, I mean say that once a user adds, for example, some products that belong to the same shop, the ... (more) |
— | about 3 years ago |