Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
we have a problem: We have installed a quiz plugin, which works well. However, after the order, various properties appear in the backend (such as "_Source: Quiz App", "_Quiz ID", etc.). Not a problem in itself, but these properties then also appear on the invoice, which we don't want.
Is there a way to prevent these (useless) properties from being transferred? Or do we have to make sure that they don't appear on the invoice, i.e. play around with the invoice template (external app)?
Many thanks and best regards
Kevin
Hello @Kevin87 👋 line-item-properties(LIPs) starting with an underscore or double underscore should already be hidden.
It's an advanced customization of the notification templates. if this is not working due to prior customization, or to hide other LIPs based on other business logic.
To undo prior customizations notification-templates have a revert to default action in the edit code admin of each notification template.
Roughly in the cart.line_items loops check each line_items properties for containing keywords or starting with an underscore which is a convention used to hide line-item-properites on the online-sales-channel theme and the checkout.
If you need this debugged, fixed, or customized then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi @PaulNewton
Thank you for your reply. 🙂 I suspect you misunderstood me. The LIPs are not shown in the frontend (in the checkout or similar), but rather they are shown in the Shopify backend after the order and then passed on to the invoicing tool so that they also appear on the invoice. We are trying to prevent this, but we don't know where to do it.
these properties then also appear on the invoice
....
shown in the Shopify backend
Always make sure specify when third party services are involved in a process, as shopify has an invoice template for drafts.
For third party issues contact that third parties support.
LIP's and other data are part of the order data itself, if a downstream service spits out everything with no nuance or control that's not a very good integration.
The only work around would be to use the api to edit the orders to remove that data immediately after checkout but before sending to a third party; but this effectively remove customer supply info from an order if you don't then store it elsewhere.
Further, removing LIPs, or cart attributes etc etc etc, from the shopify admin is not possible as it's a platform level feature; the admin is not customizable like a theme with simple liquid.
If staff need a workflow that doesn't expose such information you have to create/find an app for a custom order dashboard.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024