Support » Plugin: KIA Subtitle » Subtitle repeated 8 times on the order summary page and 6 times in Email

  • Hi Helga, congratulations on your useful plugin.

    I have a problem the subtitle is repeated 8 times on the order summary page and 6 times in the confirmation email, what does not work?

    another clarification how do I place the subtitle under the title? because in the general page of the products it always appears above the image.

    Thank you

    • This topic was modified 1 year, 4 months ago by micaud.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author helgatheviking

    (@helgatheviking)

    Well the subtitle plugin doesn’t automatically display the title at all, so how are you displaying the subtitle?

    Are you using this for WooCommerce? https://github.com/helgatheviking/kia-subtitle-woocommerce-bridge/blob/master/kia-subtitle-woocommerce-bridge.php ?

    Thanks for the reply!
    So I use Ocean Wp + Elementor pro, I downloaded your woocommerce bridge from Github and insert it into the site with Code Snippets.
    The problem is that the subtitle appears repeated 8 times in the checkout page of the order summary and repeated 6 times both in the confirmation email to the customer and the order of the shop (photo 1 – 2).
    Another question, in the product category page the subtitle appears above the image and not under the title (photo 3)
    – The subtitle does not appear in the quick view and wish list
    – All ok on single product page via shortcode, ok on minicart and cart

    Thank you for your time! Ciao

    Photo 1 Photo 2 Photo 3

    Plugin Author helgatheviking

    (@helgatheviking)

    Hi, it appears that WooCommerce is now saving the subtitle as part of the order item’s title. I’m not sure if this changed or if it was always like that. It’s a holiday weekend for me, so I’m not sure when/if I’ll get a chance to look at this.

    Another question, in the product category page the subtitle appears above the image and not under the title (photo 3)

    You need to change the priority (the number order of functions on the same hook) or perhaps use a different hook. It’s hard to know what modifications you may have made in your theme.

    The subtitle does not appear in the quick view and wish list

    Perhaps those use different hooks from the ones I’m using? I really don’t know. You may need to hire a developer to get everything customized to your needs.

    Hi, thanks for the answer.
    For the question two and three I know it’s my problem, I was asking for advice, I’ll try to understand it.
    For the question about repetitions, I think it’s a bug of the plugin, because I read that another person had the same problem.
    With my displeasure I am forced to disable the plugin, I remain confident in your correction of the same.
    Ciao e buone vacanze

    Plugin Author helgatheviking

    (@helgatheviking)

    @micaud I made some changes to the bridge plugin. Hopefully they will resolve the multiple subtitles in the cart issue.

    https://github.com/helgatheviking/kia-subtitle-woocommerce-bridge/blob/master/kia-subtitle-woocommerce-bridge.php

    In the shop loop, the default is for the subtitle to appear after the title. The priority is 20 here:
    https://github.com/helgatheviking/kia-subtitle-woocommerce-bridge/blob/master/kia-subtitle-woocommerce-bridge.php#L30

    And the title is the only thing on that hook, with a priority of 10 as seen here:
    https://github.com/woocommerce/woocommerce/blob/master/templates/content-product.php#L47

    So I have to assume that your theme has modified the display order? Or your site CSS is doing so. If you supply a URL I will try to take a quick look.

    Quick View’s quick-view.php template doesn’t have any useful hooks where you could add this. You could potentially override the single-product/title.php template and permanently add the subtitle there. You’d probably need to adjust the bridge plugin to no add it via hook to the single page in that case.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Subtitle repeated 8 times on the order summary page and 6 times in Email’ is closed to new replies.