For a real estate website, each property page needs to offer a PDF download that auto-generates using the page content.
Is it possible to implement it in Toolset?
Solution:
Toolset doesn't provide this functionality. One approach is to create a link to print the page using a CSS code snippet for print media, which strips down the page to essential content. Additionally, you can add JavaScript to trigger the print preview of the browser. Another option is to explore WordPress plugins that support PDF generation from page content.
Problem:
I'm attempting to display only the minimum price of variable products in my product archives. While the shortcode [wpv-post-field name='views_woo_price'] initially worked for manually created test products, it no longer outputs a value after importing actual products using WP All Import. Solution:
The 'views_woo_price' shortcode is a built-in WooCommerce Views field that Toolset uses to control WooCommerce prices. Batch processing may update it, but it's uncertain if it'll resolve the issue. Alternatively, you can use CSS to truncate the text of the price and show only the starting portion to fit the design.
Problem:
Resize PNG and SVG markers for a better quality. On mobile view, the PNG marker is displayed pixelated. Solution:
I checked it and the SVG markers are always resized to 32x32
There's a workaround to avoid it. You'll find the code line that controls this at line #565, in the file: "/toolset-maps/resources/js/wpv_addon_maps.js":
var scaledSize = new google.maps.Size(32, 32);
You could change the size value in the actual plugin file if needed, but since this part of code is not filterable, it is not possible to change it with a hook for example, you'd have to edit the file itself. ( please note that you'll need to keep track of this edit, as future plugin updates will overwrite any changes )
I also checked that PNG files are shown in the map with the same size they've been uploaded, it is necessary to work with the image and upload the final version to use it.