George Valdez
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 |
---|---|---|---|---|---|
Toolset not letting me use default WooCommerce template for categories
Started by: George Valdez
in: Toolset Professional Support
Problem: Solution: |
2 | 10 | 7 years, 2 months ago | ||
Is there a way to globally append edit post link using WordPress hooks?
Started by: George Valdez in: Toolset Professional Support |
2 | 3 | 7 years, 3 months ago | ||
Layouts is not working well with default single product view
Started by: George Valdez
in: Toolset Professional Support
Problem: I am seeing a warning message in my single Product pages Description tab: "You need to select a layout for this page. The layout selection is available in the page editor." This is despite choosing the default WooCommerce template file in WooCommerce Views settings for single Product pages. Solution: Find any Layouts that are currently associated with your Product and remove that association by clicking "Change Layout Usage". Then, add anything you want to display in the description tab to your Single Product Content Template. For example, add the Product description with the wpv-post-body shortcode: [wpv-post-body view_template="None"] Relevant Documentation: https://toolset.com/documentation/user-guides/getting-started-woocommerce-views/ |
3 | 11 | 7 years, 3 months ago | ||
How to create a front-end WooCommerce external/affiliate product form
Started by: George Valdez
in: Toolset Professional Support
Problem: The issue here is that the user wanted to be able to create an Affiliate product using CRED. Solution: First you will need to create a fake affiliate product on the backend, this is just so that CRED can see some of the affiliate products custom fields that are needed so as the url and the button text. Next you will need to go to "Post Forms" and click "Manage non-Toolset Post Fields", on this screen you will need to tick "show hidden fields" and select product from the dropdown. After you will need to search for the _product_url field and the _button_text and then click the add button. From here you will set the field types appropriately for each field. Also you can add any other field that you feel will be necessary. Next its time to generate the form. Add a new form for Products and then Auto Generate that form. Then you will need to search for the field group like this on the form. <div class="form-group"> <label>tags</label> [cred_field field='product_tag' class='form-control' output='bootstrap'] [cred_field field='product_tag_popular' taxonomy='product_tag' type='show_popular'] </div> Change the Name Tags to Product Type. Then after this you will need to add the additional buttons for the Affiliate product by clicking the "Add post fields" button and then select custom fields and add the additional fields like the product url and button text. So at the end you should end up with something like this. <div class="form-group"> <label>tags</label> [cred_field field='product_tag' class='form-control' output='bootstrap'] [cred_field field='product_tag_popular' taxonomy='product_tag' type='show_popular'] </div> <div class="form-group"> <label>Button Text</label> [cred_field field='_button_text' post='product' value='' urlparam='' class='form-control' output='bootstrap'] </div> <div class="form-group"> <label>Product Url</label> [cred_field field='_product_url' post='product' value='' urlparam='' class='form-control' output='bootstrap'] </div> The limitation here is that these fields will now always be shown since we can't use conditionals of taxonomy terms. So how it works is that on the frontend the user will need to type "external" in the Product Type field. I know this is not very practical but i've suggested improvement so that this feature can be vastly improved. |
2 | 8 | 7 years, 3 months ago |