ResolvedNutrition information
- This topic has 9 replies, 2 voices, and was last updated 2 years, 9 months ago by
Althemist.
- AuthorPosts
- February 23, 2021 at 2:43 pm #29075
pointystick
ParticipantIs there any way to add a reference to the nutrition being based on a 100g serving, either per product or across all products?
February 23, 2021 at 5:24 pm #29081Althemist
KeymasterIt can’t think of an option on per product basis, but you can use the custom product tooltips OR the Single Product Page Custom Popup to set the info sitewide (Theme Options > Shop > Product Promo Info Tooltips/Single Product Page Custom Popup)
February 23, 2021 at 6:11 pm #29090pointystick
ParticipantThis reply has been marked as private.February 23, 2021 at 6:25 pm #29091pointystick
ParticipantActually this would work. Is there a css snippet I could use here that would leave the trigger text alone, but stop the popup (so its essentially just there as static text above the price)?
Thanks
February 24, 2021 at 1:39 pm #29108Althemist
KeymasterBoth fields must be NOT empty. I guess you can just leave the text field with a single empty space in it.
As for the review – you can do this in your Downloads page ( https://themeforest.net/downloads ) – the small stars bellow the green “Download” button.
Regards,
DimitarFebruary 24, 2021 at 2:02 pm #29122pointystick
ParticipantHi, thanks but I stripped out the tooltip functionality as I wont (hopefully!) need it. Its messy but works:
}.lafka-promo-text span.lafka-promo-trigger
{
pointer-events: none;
}I originally had meals set as variables based on serving for 1/serving for 2. They are now all simple products but we liked the “serving for 1” appearing here where it did as a dropdown select. I cannot do this with the tooltips as I did before because this does not apply to all products.
Is there a way to set it so that the text appears (on a per product basis) here with no option to select serving for 2 – perhaps by using a variable product and putting a variation out of stock or something similar?
I hope I made sense! thanks!
February 24, 2021 at 2:04 pm #29124Althemist
KeymasterI am afraid no. It just wasn’t mean to be used like that.
February 24, 2021 at 2:06 pm #29125pointystick
ParticipantI have left a 5 star review. Very impressed with the theme – it looks great, its customisation options are very good, and if there has been anything else required, you have always pointed me in the right direction. Thanks Althemist!
February 24, 2021 at 2:38 pm #29127pointystick
ParticipantSorry, one more thing to ask regarding nutrition. Is there a way to change this text shown under the nutrition *DI: Recommended Daily Intake based on 2000 calories diet
Legally we have to indicate the grams we show are based on a 100gram portion as that how we received the info. I know we can redo the weight for every product, but I would rather avoid that and this would be a fix across everything at once.
Can you please tell me how I could achieve this?
February 26, 2021 at 3:35 pm #29144Althemist
KeymasterHello pointystick,
You can easily change the text with a plugin like Loco Translate.
- AuthorPosts
You must be logged in and have valid license to reply to this topic.