pierre-yvesC
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
wpv-add-to-cart-message not diplaying on single product
Started by: pierre-yvesC
in: Toolset Professional Support
Problem: The customer reports that the "Added to Cart" message is not displaying correctly on their product page, even though a previous similar issue had been resolved. The initial troubleshooting step of toggling the AJAX add to cart buttons did not resolve the issue. Solution: I identified that the issue was caused by a specific line of code in the template that interfered with the wpv-add-to-cart-message shortcode: [wpv-conditional if="( '[wpv-post-body]' eq '0' )" evaluate="false"]<h2>Description</h2>[/wpv-conditional] To fix, I went ahead and changed the conditional to use a custom function: The line in the template was changed to: <div class="col-sm-8">[wpv-conditional debug="false" if="( wpv_conditional_post_has_content() eq '0' )"]<h2>Description</h2>[/wpv-conditional] </div> I added the following check function to the theme's functions.php file: function wpv_conditional_post_has_content($type, $object) { $return = 0; if ( $type == 'products' ) { if ( empty( $object->post_content ) ) { $return = 0; } else { $return = count($object->post_content); } } return $return; } After that I tested it and the 'Description' title is being displayed correctly and so is the added to cart message. |
2 | 9 | 4 months, 2 weeks ago | ||
Add to cart image or icon
Started by: pierre-yvesC
in: Toolset Professional Support
Problem: I am trying to replace the 'Add to cart' text with an image or an icon but can't figure out how to do it using the shortcode variations. Solution: It is not possible to add an icon or text directly inside the add_to_cart_text attribute. Instead, use custom CSS to add it as a background image. Provide the URL where the shortcode is used and the URL of the image for further assistance in creating a CSS starting point. |
2 | 3 | 5 months, 1 week ago | ||
Filtering taxonomy multiple selection
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 7 | 6 months, 2 weeks ago | ||
Hide a product category
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 3 | 9 months, 1 week ago | ||
child categories do not display
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 8 | 11 months ago | ||
[wpv-control-distance] move to location
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 15 | 1 year, 4 months ago | ||
html disapear from Form expert mode
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 3 | 1 year, 7 months ago | ||
Custom map cluster
Started by: pierre-yvesC in: Toolset Professional Support |
3 | 5 | 1 year, 8 months ago | ||
Displaying search result in a modal
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 5 | 1 year, 8 months ago | ||
Stuck with dynamic markers
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 3 | 2 years, 2 months ago | ||
Toolset plugin cannot connect to toolset (dot) com
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 9 | 2 years, 6 months ago | ||
Map – displaying different color markers
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 5 | 2 years, 8 months ago | ||
Simple reservation system
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 3 | 2 years, 8 months ago | ||
Show cart link after user clicked Add to cart
Started by: pierre-yvesC in: Toolset Professional Support |
2 | 4 | 2 years, 11 months ago | ||
Navigation one by one
Started by: pierre-yvesC
in: Toolset Professional Support
Problem: The issue here is that the user wanted to paginate their post slider 1 slide at a time while maintaining 5 slides visible. Solution: Unfortunately this isn't possible to do based on how the view pagination works. The view works by loading pages of posts and not the individual post itself. What I mean by this is that if you have 15 posts and you're displaying 5 posts per page, then you will have 3 pages. Each click will load 5 posts rather than the next immediate post. |
2 | 3 | 3 years ago |