• Resolved webfantastic

    (@webfantastic)


    Hi!
    The payment system takes the title to generate a list of ordered products in the receipt to the client. We want to replace it with a subtitle, please tell me how to transfer the subtitle of the product to the forms? I tried to change it, but nothing works.

    $current[‘name’] = $product->get_title();
    If you replace get_title, then it takes the subtitle of the payment page, not the ordered product. What should I change instead of get_title? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter webfantastic

    (@webfantastic)

    Thank you, we have solved this problem

    Plugin Author HelgaTheViking

    (@helgatheviking)

    That’s good since it wasn’t clear to me what you were asking. Could you post the solution in case it helps anyone else?

    Thread Starter webfantastic

    (@webfantastic)

    $current[‘name’] = $subtitle=get_the_subtitle($item[‘product_id’]);

    Thread Starter webfantastic

    (@webfantastic)

    The robokassa card payment plugin takes product names from the title, which is sometimes inconvenient, so I wanted to insert the subtitle of the product there instead of the title

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Transfer the product subtitle to the payment form’ is closed to new replies.