B4J Question [BANanoVuetifyAD3] VProductCard

sdleidel

Active Member
Licensed User
Longtime User
Hi,

How to change Buy/Copy/Wish.
I would like to change the text and I don't need buy and copy.
Can you also hide the discount field ? If I do this with "", it's black
 

Mashiane

Expert
Licensed User
Longtime User
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
Change Product Details at Run-Time

Here we change somethings about the product when the "Copy" button is clicked!

B4X:
Private Sub VProductCard1_Copy (item As Map)
    'get the product
    Dim prd As Product = VProductCard1.GetProduct(item)
    prd.price = "$ " & Rnd(200,1000)
    prd.discount = $"-${Rnd(10,20)}%"$
    VProductCard1.UpdateProductRT(prd)
End Sub

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…