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

Okay
  Public Ticket #2780662
Shortcode dont have any of the settings
Closed

Comments

  •  2
    Kasper Ancher started the conversation

    Hi
    When using the shortcode [woobt] it will ignore all the settings from the admin page. Is there somehow to write the settings into the shortcode?

    Thanks

  •  767
    Janilyn replied

    Hi Kasper,

    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

  •  1,223
    Dustin replied

    Hi Kasper,

    Thanks for your informing us on this issue!

    Please update our plugin to the latest version 3.6.1 then add the below custom code (How to add custom code?)

    add_filter( 'woobt_is_shortcode', '__return_false' );

    Best regards,
    Dustin

  •  2
    Kasper Ancher replied

    Thanks that worked for the settings. I found another issue, it dosnt add the extra items to the cart, no matter if "add separately" is on or off. 

  •  1,223
    Dustin replied

    Please send me a product link then I can check it first.

    Best regards,
    Dustin

  •  2
  •  1,223
    Dustin replied

    Hi Kasper,

    Seem you're customizing the theme and it's missing the hook 'woocommerce_before_add_to_cart_button', so our plugin doesn't work correctly.

    In this case, you can try this option https://www.screencast.com/t/qnZiRWrZN to use a separate add-to-cart button for the list.

    Best regards,
    Dustin

  •  2
    Kasper Ancher replied

    I cant seem to translate the separate button though settings or loco. I just tested the hooks from the admin settings above / below add to cart and these works fine. Only the shortcode dont add anything but the main product to the cart.

  •  2
    Kasper Ancher replied

    I can make by using both shortcode and a hook from position options.

    If i select "Under add to cart button" as position in admin and at the same time insert the shortcode where i need it to be. I can add display:none to the hooked one and the shortcode will then work.

  •  1,223
    Dustin replied

    Also, it's missing CSS class "summary" https://www.screencast.com/t/GaKOPIKB, so our JS code can't find exactly the add to cart button. That is why our plugin doesn't work correctly.

    About the translation with LocoTranslate, please remember to press the Sync button before finding and translating https://wpclever.net/faqs/plugin-translation

    Best regards,
    Dustin