Hey there, @marcrix! Thanks for contacting us. I’m happy to help you.
Do you mind sharing screenshots of your website so we can get a better understanding of your goal?
I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.
Please point confirm the shortcode you are using and where you wish it showed so we can see how we can help.
Thank you!
Looking forward to your reply.
Have a wonderful day!
Hello,
I would be happy to send you the link to the screenshot.
https://snipboard.io/mjYT7u.jpg
Is there a way to display the information about shipping costs from above on the price below or above or below the shopping cart?
I marked this with an arrow and hope you can help me.
Best regards
Zee
(@doublezed2)
Hello marcrix
Thank you for your reply and for sharing a screenshot.
May I ask which plugin are you using to create extra product information?
If that plugin allows you can edit the Single Product template and place the extra fields at a different location on the page.
Another possible workaround will be to put an Anchor Link at the top saying something like “Click here to see shipping costs” and then link it to the Shipping Cost value down below.
Please let me know about your thoughts on this. 🙂
Best regards.
Hi,
the plugin is “WooCommerce Custom Product Addon”.
Is there a shortcode for shipping informations in Woocommerce, which I could use to output that informations on a different position?
Kind regards
Hi @marcrix,
Thanks for getting back to us. Thank you for reaching out to WooCommerce support. I understand that you would like to display shipping information near the ‘Add to Cart’ button on your product page.
Currently, WooCommerce does not have a built-in shortcode for displaying shipping information. However, it might be possible to achieve this with some custom CSS. Here’s a basic example of how you could duplicate content by projecting it from an attribute as pseudo-elements:
<div class="duplicate" title="text to duplicate"></div>
.duplicate::before,
.duplicate::after {
content:attr(title);
display:block;
}
In this example, the ‘title’ attribute of the ‘duplicate’ class is being used to duplicate the text. You could potentially use a similar method to duplicate your shipping information. However, to provide a more accurate solution, could you please share the link to your website? This will help me understand your setup better and provide a more tailored solution.
Also, since you’re using the “WooCommerce Custom Product Addon” plugin, you might want to check their documentation or reach out to their support for any plugin-specific shortcodes or functions that could help in this situation.
Looking forward to hearing from you soon.