routing
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user