hook or shortcode to display the price calculator label where i want ?

Home – SaaS Forums Support questions WooPrice Calculator (Pro) hook or shortcode to display the price calculator label where i want ?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7039
    Daniel Emidio
    Participant

    Hello,

    Thank you for your time,
    On my website I have a product table and the price calculator label shows right beside the price. I’ve noticed the settings and the only two options are “Before” or “After” price. However, i want to have my price in one column and add a specific column for this label. How can i do it ?
    Is there any shortcode or hook i can use to print the label ?

    Thanks again for your time,
    Best regards,
    Daniel

    #7044
    bill
    Participant

    Hello,

    sorry for the delay of giving you can answer.

    Regarding your question, yes it is possible to customize the label by using custom theme, that allows you to customize the look of the calculator
    Here is our documentation of using themes:
    https://altoswebsolutions.com/manual/woo-price-calculator/using-themes

    Also you can check our documentation of advance filed customization, to render every single component of a field:
    https://altoswebsolutions.com/manual/woo-price-calculator/advance-field-customization

    Kind Regards,
    Bill
    AT1069

    #7043
    Daniel Emidio
    Participant

    Hey Bill,

    Thank you for your response.
    Your documentation really helped understand the possibilities with the price calculator.
    So, i have a product table which prints products dynamically.
    How can i get the “aws_price_calc_n” of $product ?

    #7042
    bill
    Participant

    Hello Daniel,

    There is no direct way to get the input fields of a specific product , unless you are inside that product page. Another way with custom code can be :

    $woopricecalculator = $GLOBALS[‘woopricecalculator’];
    $calculator = $woopricecalculator->calculatorHelper->get_simulator_for_product($productId);

    this way inside $calculator you will have all the information of the specific calculator of that product. Including the respective input fields.

    Kind Regards,
    Bill
    AT1069

    #7041
    Daniel Emidio
    Participant

    Thank you again Bill for your precious answer.

    One last question! An easier one to understand haha.
    When, or will, you guys update the plug in so its compatible with variable products ?

    I was trying to build a workaround but it seems to be quite complex.

    Thank you for your time

    #7040
    bill
    Participant

    Hello Daniel,

    for the moment our plugin is compatible only with simple product.
    Our development team is working to add this feature in the future development

    Kind Regards,
    Bill
    AT1069

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.