• Resolved ViktorWoWReklambyra

    (@viktorwowreklambyra)


    Hi! Love your plugin. I have a question:

    I’m trying to build a product recommender that allows the user to fill out a couple of fields in the calculated fields form and then based on the values, show or hide a woocommerce product.

    I know i can do this kind of “static” by using a dependency and show a html field with all the product markup – but i was wondering if there’s a way to do a php get template call function based on the inputs instead? this way i don’t have to create a super big html file within the form itself.

    I’m currently doing this on a localhost server but the ideal function would be something like this:

    User fills out input A and selects either option A B or C in the next input field.

    the form then calculates this so that if the value of A is greater than X value and if an option has been selected, show this product.

    Beneath the selected product is also three accordions that when expanded show a product carousel slider with even more products.

    So you can see why the html structure might be quite extensive.

    Anyway, thanks for a great plugin and would love some feedback on this.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘php template based on user inputs woocommerce’ is closed to new replies.