Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1079441
    pdopchev
    Participant

    Hi guys,

    Got stuck trying to set a variable price according to the second attribute of the product on this page: http://www.dopchevproductions.com/test/product/the-80-custom/

    Need to set 3 different prices according to the “Options” dropdown menu.

    Any suggestions?

    #1079857
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    It’s working, but you set them up with just same price. Please check this data I pulled from your product page.

    [{
        "variation_id": 989,
        "variation_is_visible": true,
        "variation_is_active": true,
        "is_purchasable": true,
        "display_price": 750,
        "display_regular_price": 750,
        "attributes": {
            "attribute_pa_size": "182-cm",
            "attribute_pa_options": ""
        },
        "image_src": "",
        "image_link": "",
        "image_title": "",
        "image_alt": "",
        "image_caption": "",
        "image_srcset": "",
        "image_sizes": "",
        "price_html": "",
        "availability_html": "",
        "sku": "",
        "weight": " kg",
        "dimensions": "",
        "min_qty": 1,
        "max_qty": null,
        "backorders_allowed": false,
        "is_in_stock": true,
        "is_downloadable": false,
        "is_virtual": false,
        "is_sold_individually": "no",
        "variation_description": ""
    }, {
        "variation_id": 990,
        "variation_is_visible": true,
        "variation_is_active": true,
        "is_purchasable": true,
        "display_price": 750,
        "display_regular_price": 750,
        "attributes": {
            "attribute_pa_size": "174-cm",
            "attribute_pa_options": ""
        },
        "image_src": "",
        "image_link": "",
        "image_title": "",
        "image_alt": "",
        "image_caption": "",
        "image_srcset": "",
        "image_sizes": "",
        "price_html": "",
        "availability_html": "",
        "sku": "",
        "weight": " kg",
        "dimensions": "",
        "min_qty": 1,
        "max_qty": null,
        "backorders_allowed": false,
        "is_in_stock": true,
        "is_downloadable": false,
        "is_virtual": false,
        "is_sold_individually": "no",
        "variation_description": ""
    }, {
        "variation_id": 991,
        "variation_is_visible": true,
        "variation_is_active": true,
        "is_purchasable": true,
        "display_price": 750,
        "display_regular_price": 750,
        "attributes": {
            "attribute_pa_size": "164-cm",
            "attribute_pa_options": ""
        },
        "image_src": "",
        "image_link": "",
        "image_title": "",
        "image_alt": "",
        "image_caption": "",
        "image_srcset": "",
        "image_sizes": "",
        "price_html": "",
        "availability_html": "",
        "sku": "",
        "weight": " kg",
        "dimensions": "",
        "min_qty": 1,
        "max_qty": null,
        "backorders_allowed": false,
        "is_in_stock": true,
        "is_downloadable": false,
        "is_virtual": false,
        "is_sold_individually": "no",
        "variation_description": ""
    }, {
        "variation_id": 992,
        "variation_is_visible": true,
        "variation_is_active": true,
        "is_purchasable": true,
        "display_price": 750,
        "display_regular_price": 750,
        "attributes": {
            "attribute_pa_size": "155-cm",
            "attribute_pa_options": ""
        },
        "image_src": "",
        "image_link": "",
        "image_title": "",
        "image_alt": "",
        "image_caption": "",
        "image_srcset": "",
        "image_sizes": "",
        "price_html": "",
        "availability_html": "",
        "sku": "",
        "weight": " kg",
        "dimensions": "",
        "min_qty": 1,
        "max_qty": null,
        "backorders_allowed": false,
        "is_in_stock": true,
        "is_downloadable": false,
        "is_virtual": false,
        "is_sold_individually": "no",
        "variation_description": ""
    }]

    Please configure your options with the pricing you preferred.

    Thanks!

    #1080543
    pdopchev
    Participant

    Hi, thanks for your help!

    Adding the additional price information is what I am trying to figure out how to do. So to recap the goal is to have a variable price depending on the 2nd attribute “Options”. The base price would not change by selecting a different “Size” attribute. (155cm, 164cm, 174cm or 182cm) – none of these would change the price.

    For instance, selecting the “Countervail +400” would give a price of $1450 instead of $1050 no matter what “Size” is selected. So basically looking to have additional cost per product variation.

    Any ideas?

    #1080826
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates!

    To properly setup a variable product, please check out the documentation for the very detailed information.
    https://docs.woothemes.com/document/variable-product/

    Hope this helps.

    #1082565
    pdopchev
    Participant

    Thanks, I finally figured it out! There is a link to a more detailed video, if anybody else is contemplating on the same issue: https://www.youtube.com/watch?v=dfGZ8NyGFS8

    #1082880
    Thai
    Moderator

    Glad you’ve sorted it out.

    If you need anything else, please let us know 🙂

  • <script> jQuery(function($){ $("#no-reply-1079441 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>