• I want to load the [products] shortcode data via ajax: at first it didn’t work for me: the product cards looked different than in the catalog.

    I was able to get the product cards to look right by calling shop_customization() – is this a good solution or is there a better option for this in the theme?

    add_action( 'wp_ajax_name', function() {
      ...
      Astra_Woocommerce::get_instance()->shop_customization();
      echo do_shortcode( "[products ids='$product_ids']" );
      ...
    } );
Viewing 1 replies (of 1 total)
  • Hi @andreslav, sorry for the long delay.

    Anyway, to set the expectation clearly, I would like you to know that basically, everything that is related to customization and/or custom code is something that we are not offering to support.

    Let’s see if there someone in the community who will share any thoughts.

    Kind regards,
    Herman ??

Viewing 1 replies (of 1 total)
  • The topic ‘Loading [products] through ajax.’ is closed to new replies.