We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

change product color via WooCommerce color picker

Home Forums Programming change product color via WooCommerce color picker

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46087
    robertdrost
    Participant

    Hey everyone,

    we have a product in WooCommerce that can be painted in any color.
    Customers can use a color picker to select a color on the product page in WooCommerce.
    The product should then be displayed in the selected color in the verge3D iframe.
    What would be the best way to send the color to verge3D?

    Thank you very much!

    Robert

    #46098
    xeon
    Customer

    Well, like all things, there are many ways to do this and it will depend on your personal preferences as to the best approach.

    A simple way is to use the HTML “onEvent mouseup” and then use this in combination with the HTML “get prop value” and then move the value within the puzzles in a puzzle variable.

    You could use javascript, files, whatever you like. You could even have the color picker inside the verge app and not worry about passing the variable.

    Xeon
    Route 66 Digital
    Interactive Solutions

    #46099
    haris
    Participant

    I can help you to solve this problem contact me on Gmail harisimran1012@gmail.com

    • This reply was modified 5 days, 23 hours ago by haris.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.