• Resolved mukape

    (@mukape)


    We’re trying to use your plugin, we’re using Elementor builder in creating our shop templates and the same for the single product page.
    now we need to display your plugin but we cannot because the plugin isn’t supporting the shortcodes.
    Kindly let me know how to use your plugin with Elementor, how can i use the shortcode?
    and if there is no shortcode, when it’ll be available?

    • This topic was modified 1 year, 8 months ago by mukape.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Devnet

    (@devnethr)

    Hello,

    Unfortunately, at the moment, we do not have a shortcode available for our recently released plugin with limited options. However, we do have plans to add a shortcode in the future.

    Our plugin works by hooking into the woocommerce_product_meta_start action in WooCommerce. This is where the SKU, category, and tags are typically displayed. Have you tried using Elementor’s single product meta block?

    It’s important to note that the Product Price History only tracks price changes from the point at which the plugin was activated. It does not track any previous price changes that may have occurred before activation.

    Thread Starter mukape

    (@mukape)

    Kindly let me know when the shortcode will be available in your plan.

    and I think you can help me temporarily by giving a code snippet that enables the shortcode

    Plugin Author Devnet

    (@devnethr)

    Certainly! Please find below the code snippet that will enable you to output everything hooked to woocommerce_product_meta_start:

    function product_meta_start_shortcode()
    {
    	ob_start();
    	do_action("woocommerce_product_meta_start");
    	return ob_get_clean();
    }
    
    add_shortcode('product_meta_start', 'product_meta_start_shortcode');

    Please note that this code will output not only the chart but also any other content that is hooked to the woocommerce_product_meta_start action by your theme or plugins. Therefore, you may need to remove or hide other content if necessary. In case there is no other content except the chart, then you do not need to worry about it.

    The shortcode is:

    [product_meta_start]

    Let us know if you have any questions or concerns. Good luck!

    Thread Starter mukape

    (@mukape)

    you cannot limit it to display your widget only?

    Plugin Author Devnet

    (@devnethr)

    At the moment, the development of a special shortcode for our plugin is not yet available and would require additional time. However, if you have coding skills, you can customize our plugin to meet your specific requirements.

    As previously stated, our plugin should be displayed in the single product meta block of Elementor. If it does not appear in that block, you can use the provided shortcode to display the chart while hiding any other content using a single line of CSS. Nonetheless, there is a high likelihood that only the chart will be visible without any other displayed content.

    Thread Starter mukape

    (@mukape)

    I’ve tested the plugin, it’s ok
    but there is a lot of things missed like:
    1. Price range difference should be displayed in case of the variable product
    because in the variable product it’s displaying only the lowest price or the 1st variation price, what about the other variations prices change

    i think the indicator for the price change should contain at least the price range, and it will be better if it can display the variations prices change
    this will make your plugin advanced plugin
    also options to be controlled from the plugin settings, how the plugin is working and what to display

    Plugin Author Devnet

    (@devnethr)

    Thank you for your feedback. We are pleased to hear that the chart display is working.
    In regards to the variable product chart, WooCommerce stores the lowest variation price as the “main” variable product price, but we track all price changes. Once the customer selects a variation, the chart should update with price changes specific to that variation.
    Initially, we had planned to show all variations in the chart, but for products with many variations, this caused the chart to become over-cluttered and useless.

    We appreciate your suggestions, as user feedback is crucial in our efforts to improve the plugin over time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin not displaying’ is closed to new replies.