Sammut
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 working
1
2
Started by: Sammut
in: Toolset Professional Support
Problem: The issue here is that the add to cart message is not showing up on the Product Page. Solution: This is a known issue and our development team is working to fix this issue. |
|
2 | 17 | 6 years ago | |
Post Connection not working
Started by: Sammut
in: Toolset Professional Support
Problem: I would like to display a custom field from a child post in the parent post template, but the Types field shortcode is not working as expected. Solution: You can't use a Types field shortcode in this case, because there can be many child posts associated with the parent post. You must use a View of related posts, filtered somehow, to display the field from the correct child post. |
|
2 | 13 | 6 years ago | |
Connection not displaying on front end
Started by: Sammut in: Toolset Professional Support |
1 | 2 | 6 years ago | ||
View not showing expected results from category
Started by: Sammut in: Toolset Professional Support |
1 | 2 | 6 years, 4 months ago | ||
Preserve query string on ajax search
Started by: Sammut
in: Toolset Professional Support
Problem: I have a custom search View with several search fields placed on a page. Only the search form, not the results, are shown on the page. The View is set up to redirect to a different URL, where the filters and results are both displayed. When Users visit the first page, the URL will have a parameter "promocode" with some variable. When the page redirects to the next step, I want to maintain the original URL parameter on the results page. Solution: Use the View filter "wpv_filter_end_filter_form" to add a hidden input field to the custom search form, and set the value of the field by accessing the URL parameter in the $_GET superglobal: add_filter( 'wpv_filter_end_filter_form', 'prefix_add_hidden_field', 99, 4 ); function prefix_add_hidden_field( $out, $view_settings, $view_id, $is_required ) { $views = array( 16855 ); if ( in_array( $view_id, $views) && $is_required ) { $promocode = isset($_GET['promocode']) ? $_GET['promocode'] : ''; $out = '<input type="hidden" id="promocode" name="promocode" value="' . $promocode . '" />' . $out; } return $out; }; Then if your View is set up to "only show available inputs" you'll need to add some custom JavaScript to update the hidden promocode field any time the filters are updated: jQuery( document ).on( 'js_event_wpv_parametric_search_form_updated', function( event, data ) { var url = new URL(window.location); var promocode = url.searchParams.get("promocode"); jQuery('#promocode').val(promocode); }); Relevant Documentation: |
|
2 | 13 | 6 years, 4 months ago | |
wpv-attribute in view not working as expected.
Started by: Sammut
in: Toolset Professional Support
Problem: I would like to use an attribute applied to a parent View shortcode inside a nested child View shortcode. Solution: Apply the same attribute to both View shortcodes to pass information down the hierarchy. Relevant Documentation: |
|
2 | 7 | 6 years, 4 months ago | |
Altering Orderby with Toolset and Relevannsi
Started by: Sammut in: Toolset Professional Support |
|
2 | 3 | 6 years, 4 months ago |