summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-21Exclude "mv_order_profile" from being memory freedHEADmasterꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Since custom "mv_order_" prefixed keys needed to be freed, it would crash at checkout, hence this exemption.
2023-06-19Items is now back an array of pointer to the itemsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This is so that the item struct can be (fake) subclassed without the need to have a custom ord for containing the subclassed items. With pointers, they can be easily casted using the same "items" field.
2023-06-19Login POST uncertain data is now checked firstꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
so that we don't get a filled key but with a NULL value, that would terminate the construction loop too early.
2023-06-16Fix the login after struct body was replacedꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
mv_verify with a NULL value (i.e. at logging, not registration) would terminate the POST body construction loop. Simply moving the pair to the end should be a safe solution.
2023-05-26Item options are freed tooꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-25Add mv_item_optionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-23No options shouldn't iterate to -1ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-22Add check_opt when there's any optionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-17Add prefix to custom option keyꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-17order takes custom options paramsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-16Replace struct body with const char *[][2]ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-15Add option_type to productꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-15POST copies contents so quantity doesn't leakꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-14Order can differentiate variant SKU from productꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-13Function for updating quantityꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-05-09Admin clearer, reimplement logout & default nextꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-04-01mv_quantity_update is needed when it's not quantity0ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-31Interface for setting orderpage, it has a defaultꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-31This is what makes cart item removal worksꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-31Function for removing an item from the cartꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-31Add name to itemꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-20Add image large to productꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-18Interface for setting successpageꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-14Response now carries URL info just like Emscriptenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-14Generic page anticipates space tooꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-14Back to pageꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-14Flypage is the right term all this timeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Document _page and reorder it upꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13New account default next page is new_accountꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13nextpage default is loginꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Checkout takes a copy of the member structꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Clearing member is separated from logging outꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Transaction free-er is now a clearerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Declare products as a pointer so it's assignableꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Rename free_product to clear_productꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Revert "Product & order free-ers are now clearers"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit aca2dbad31d1c7d76f08344244013c507d657222.
2023-03-12Product & order free-ers are now clearersꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Items is now array of (not pointer of) itemsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Only profile is needed from order on checkoutꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Not using pointers on products to avoid allocationsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Remove internal order/basket/cart codeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Such code can later be part of our own e-commerce library, if we ever make one. For now, we can just rely on Interchange's response for the cart values.
2023-03-09Handler parameter to orderꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-08Interface for setting login next pageꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-22Add handler to setaccount, & simplify member dataꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-20Reorder to conform to Strap's column orderꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-19Add product titleꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-12Account information getterꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This function assumes the default member/account path. When custom, the page function should be able to be used.
2023-02-12Rename account function to setaccountꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-12Freeing order doesn't include product freeingꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
An item in an order only keeps a pointer to a product it doesn't own. The catalog owns that product, so freeing the catalog is the only one that should include freeing the product.
2023-02-09The headers might be lost beforeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀