-
AuthorPosts
-
September 10, 2020 at 6:42 pm #1244979
Good afternoon,
Need your help to add the product reference below the price
September 12, 2020 at 12:27 pm #1245331Hey Nelson_Soares,
Could you please give us a link to your website, we need more context to be able to help you.
What kind of reference are you referring to?
Best regards,
VictoriaSeptember 14, 2020 at 1:31 pm #1245756Good Morning.
The website link is as follows
– http://digitalweb.pt/pedefruta/fruta/The reference to which I refer is the Reference of the product that is inserted in each product.
You can see that reference on this page under the add button
September 14, 2020 at 9:18 pm #1245851Hi Nelson_Soares,
https://share.getcloudapp.com/4gu9qYPn The block itself is a link, do you want an additional link?
Best regards,
VictoriaSeptember 14, 2020 at 10:17 pm #1245875Hello, I want to appear
Name
Price
Referencelet it be like this
Banana
€ 0.10
1 Un. ± 40 Gr.I intend to use the product reference field to say that a quantity of the product is equivalent to “X” grams
September 21, 2020 at 4:25 am #1247241Hi,
Thank you for the inquiry.
Is product reference a custom field? We could use the woocommerce_after_shop_loop_item_title hook in the functions.php file to insert additional content after the product price. The hook should look something like this.
add_action('<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_after_shop_loop_item_title', function() { // insert additional content here echo "something here"; }, 15);
Best regards,
IsmaelSeptember 23, 2020 at 12:49 pm #1247834Hi Ismael,
That’s exactly it, but the information cannot be static, an information must come from each product, basically I have to say that 1 product is equivalent to “x” gr
For that I was using the Reference field for each product.
Can you help me? Thank you
September 25, 2020 at 10:59 am #1248371Hi Nelson_Soares,
You will need to modify the code that renders that block.
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.