Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2730851
Solutions Featurerequest
Closed

Comments

  •  1
    Jens started the conversation

    If the user does not select a first Item it displays a Price of zero for the bundle. I would like to display a "From $10 to $100" custom Text as long as bundle is on zero price. 

    Other Feature suggest:

    We have long list of Options/bundeled products. We need to group and display short texts with hints for Buyers between the groups. It would be very helpful to add simple Text Areas in the List of bundeled products.


  •  767
    Janilyn replied

    Hi Jens,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  153
    Henry replied

    Hi Jens,


    1: You can use this code:

    function woosb_price_change_trigger() {
        if ( is_product() ) {
            ?>
            <script>
            jQuery(window).load(function(){
                jQuery(woosb_vars.price_selector).html("From $10 to $100");
            });
            </script>
            <?php
        }
    }
    add_action( 'wp_footer', 'woosb_price_change_trigger',9999);


    2: Unfortunately we do not provide this feature.



    Best regards,
    Henry N.

  •  1
    Jens replied

    Hi Triston, 

    Thanks, it also affected my other Products so I changed Code to only run when a tag "ab818" is set.

    Is there a way to pull in the value from Database that is in the Backend labelled as "E.g: From $10 to $100" ?

    Also is there a way to grey out the Order Button if not a minimum value is calculated? Example one can only press "into Cart" button if more than "650€" is ordered alltogether?

    function woosb_price_change_trigger() {
        if ( is_product_tag( 'ab818' )) {
            ?>
            <script>
            jQuery(window).load(function(){
                jQuery(woosb_vars.price_selector).html("ab 8,18 €/lfm");
            });
            </script>
            <?php
        }
    }
    add_action( 'wp_footer', 'woosb_price_change_trigger',9999);

  •  153
    Henry replied

    You can try it:

    function woosb_price_change_trigger() {
        if ( is_product() ) {
        global $post;
        $terms = wp_get_post_terms($post->ID, 'product_tag',array("fields" => "ids"));
        if (in_array(123, $terms))
        //width 123 is tag id
        ?>
            <script>
            jQuery(window).load(function(){
                jQuery(woosb_vars.price_selector).html("From $10 to $100");
            });
            </script>
            <?php
        } 
        }
    }
    add_action( 'wp_footer', 'woosb_price_change_trigger',9999);


    Best regards,
    Henry N.