This commit is contained in:
2026-05-12 01:13:01 +02:00
commit bf304e17c9
46 changed files with 4358 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package viewmodel
import (
pscart "prestaproxy/internal/prestashop/cart"
pscatalog "prestaproxy/internal/prestashop/catalog"
pscookie "prestaproxy/internal/prestashop/cookie"
pscustomer "prestaproxy/internal/prestashop/customer"
)
type CategoryPageData struct {
Category pscatalog.CategoryPageData
Session *pscookie.SessionContext
Customer *pscustomer.Profile
CartSummary *pscart.Summary
ShopBaseURL string
}
+17
View File
@@ -0,0 +1,17 @@
package viewmodel
import (
pscart "prestaproxy/internal/prestashop/cart"
pscatalog "prestaproxy/internal/prestashop/catalog"
pscookie "prestaproxy/internal/prestashop/cookie"
pscustomer "prestaproxy/internal/prestashop/customer"
)
type ProductPageData struct {
Product pscatalog.ProductPageData
CategoryURL string
Session *pscookie.SessionContext
Customer *pscustomer.Profile
CartSummary *pscart.Summary
ShopBaseURL string
}