Skip to main content

Variant prices

More
13 years 6 months ago #101501 by Wewic24
Variant prices was created by Wewic24
Hi,

I have a product with 2 variants (1 year and 2 years) and the first one has 3 prices.

I want to know if i can get those prices via array.

Like : variants[0]->prices[1] (for the variant "1 year" and get its second price)
variants[1]->prices[2] (for the variant "2 years" and get its third price)

Thanks

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101526 by nicolas
Replied by nicolas on topic Variant prices
Hi,

Yes, you can do that.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101530 by Wewic24
Replied by Wewic24 on topic Variant prices
Hello,

Thank you for the reply.

What is the exactly "pattern" i can get the price ? I mean which array ?

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101558 by nicolas
Replied by nicolas on topic Variant prices
You already gave the "pattern" on your first message so I'm not sure I understand what you want ?

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101640 by Wewic24
Replied by Wewic24 on topic Variant prices
I want to know if there is a way to access the variant's price via array in php.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101651 by Mohamed Thelji
Replied by Mohamed Thelji on topic Variant prices
Hi,

Sure, but where do you want to access to your product variants prices ?

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #101998 by Wewic24
Replied by Wewic24 on topic Variant prices
Hello,

We found another solution, i just created variants and gave them the prices.

Thanks for your help !

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago - 13 years 6 months ago #102001 by Mohamed Thelji
Replied by Mohamed Thelji on topic Variant prices
Glad to know that you found a solution :).
Last edit: 13 years 6 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum