PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Optional price appears right but in cart it appears as basic price

  1. radeCZECH
    Member

    I use woocommerce plus GF product addons and I have basic product price 9,90 CZK. I've done some conditionals I can, from 30 pcs do some extras for just some additional payment.

    What means sine 30 pcs I use
    basic price 9,90 + 5,60 in range of 30-49 pcs
    basic price 9,90 + 2,60 in range of 50-99 pcs
    etc.

    and it works perfect. I see in cart I have 30 pcs with additional option for one price per piece in amount of 15,50 CZK.

    So I thought it will work same if I reach such amount what enables you a discount. Like from 300 pcs above I count discount like

    basic price 9,90 -0,90 CZK for 300-499 pcs etc.

    With this, I see right count before adding into cart, BUT in cart I see just basic price 9,90.

    Does anyone know what I do wrong?

    Please check it here: http://pf.razitka-vizitky-tisk.cz/obchod/novorocni-prani-dl-karta/dl41-motiv-praha-karluv-most-hradcany/

    Select radio button: s dotiskem vlastnĂ­ho textu
    Write something into text box
    No need to upload file, it is optional for logotype
    and choose 300 pcs and put it into cart. Price should be 2700 CZK but is 2970 CZK what means it really counts with 9,90 instead of 9,00 CZK

    Posted 12 years ago on Thursday October 11, 2012 | Permalink
  2. Please direct this question to the Woocommerce folks as it appears this functionality is all related to their shopping cart and product add-on functionality.

    Posted 12 years ago on Thursday October 11, 2012 | Permalink
  3. radeCZECH
    Member

    Thanx Chris, I did too. It seems I need to use 0 price for product and do all counts via gravity forms. With this you may could help me with my idea to create a custom field for each product where I will put the price (as regular price field must be zero but products have different prices and I want to use just one form per category). I thougt I let gravity form populate dynamically via this custom field. Is this idea true? How would it look like than? I've found this snippet into functions.php?

    add_filter('gform_field_value_your_parameter', 'my_custom_population_function');
    function my_custom_population_function($value){
        return 'boom!';
    }

    Could you help me to have custom field eg. my_price ? How this snippet should look like?

    Posted 12 years ago on Thursday October 11, 2012 | Permalink
  4. I'm not clear at this point what you're trying to do. Can you state your request again here so we can focus on that instead now? Thank you.

    Posted 12 years ago on Sunday October 14, 2012 | Permalink