Fix product URL for a new custorder scenario
This commit is contained in:
parent
5d875bc731
commit
3990854d42
2 changed files with 7 additions and 3 deletions
|
@ -527,6 +527,7 @@
|
|||
type="is-primary"
|
||||
tag="a" target="_blank"
|
||||
:href="productURL"
|
||||
:disabled="!productURL"
|
||||
icon-pack="fas"
|
||||
icon-left="external-link-alt">
|
||||
View Product
|
||||
|
@ -1536,8 +1537,7 @@
|
|||
this.productUnitPriceDisplay = selected.unit_price_display
|
||||
this.productCasePriceDisplay = selected.case_price_display
|
||||
this.productImageURL = selected.image_url
|
||||
// TODO: this needs to come from handler i guess..
|
||||
// this.productURL = row.product_url
|
||||
this.productURL = selected.url
|
||||
this.productQuantity = 1
|
||||
this.productUnitChoices = selected.uom_choices
|
||||
// TODO: seems like the default should not be so generic?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue