• Resolved Jonathandejong

    (@jonathandejong)


    Hi!

    We’re using the Gravity forms for Jigoshop addon with the list-field in GF to have the customer add names and email-adresses when buying one or multiple tickets (ticket is a single product post).

    It works like a charm with one exception. The email sent out is processing the variation_data with this function: jigoshop_get_formatted_variation (row 349 in jigoshop/classes/jigoshop_order.class.php) which removes the table-structure of the list before sending out the emails resulting in the list as a single line of text and thus being difficult to read or copy. The function itself is located in jigoshop/jigoshop.php on row 1272. Perhaps you could add in a check for which GF field type is being used and not format the value for specific fields? Or possibly add a filter with which we can ourself disable the formatting..

    Best regards / Jonathan

    https://wordpress.org/plugins/jigoshop/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thanks for info. We’re checking out possibilities to improve

    Hello @jonathandejong

    It is hard for me to understand which field and what to do. Which Jigoshop version are you referring to? If it is possible – please create appropriate patch that will suit your needs on GitHub (https://github.com/jigoshop/jigoshop) and submit for merging, we will review and likely merge your fix if it won’t brake anything.

    Thanks for your input!

    Thread Starter Jonathandejong

    (@jonathandejong)

    Hey Amadeusz,

    The jigoshop version isn’t really relevant but I’m using the latest. What I’m referring to is your own Gravity Forms addon/extension for jigoshop (it’s been created and released by jigoshop, not a third party).

    It’s formatting all the values coming from GF after they’ve been retrieved from the DB (post meta) which are usually fine but with the list-field in GF we need to maintain the table-structure. Without it the list ends up as just a string which is almost unreadable.

    I can’t say exactly if I’m able to patch it myself. Not sure wether I’m able/have time and also if I have access to it on Github. I am part of your organization repo there (jonathan-dejong) but I don’t think all of your plugins are accessible.

    Thanks!

    Hello @jonathandejong

    As far as I understand it’s not the issue with the plugin itself, just formatting of the email which is done by Jigoshop itself. As I don’t know how I can help you (as I’m unable to reproduce your issue) I only can ask you to test and track where the problem comes from. Sorry!

    P.S. I was asking about Jigoshop version as lines you mentioned do not match and I’m unable to track where your issue came from at all.

    Plugin Author MWSGD

    (@mwsgd)

    Marking resolved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gravity forms addon removes table formatting in emails’ is closed to new replies.