Passer la navigation

[Résolu] Product Price (_regular_price) showing as zero on cred edit product form

This support ticket is created Il y a 3 years, 11 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par terryE Il y a 3 years, 11 months.

Assisté par: Minesh.

Auteur
Publications
#2407761

We have a cred form where we EDIT product details.

On the form we have the standard [cred_field field="_regular_price" force_type="field" class="form-control" output="bootstrap"]

On save, this saves the price - all good.

When we edit the same product, the different price of 0.00 is shown. So when we save the product again, there is no longer a price.

How do we make the field display the actual price, so on save, it keep the price?

Thanks,
Terry.

#2407785

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if you try to add the shortcode as given under on your post edit form you use to edit the product:

[cred_field field="_regular_price" force_type="field" class="form-control" output="bootstrap" value="[wpv-post-field name='_regular_price']"]

Does that help to display the original price you submitted?

#2411557

Awesome, thanks for that