-
legacy4christorlandoAsked on February 14, 2025 at 10:37 AMalso at checkout in the top right corner is a white category drop down. Can i remove it as we only have 2 categories. If not, the drop down does not show anything but check boxes. Can we at least fix it to show the 2 categories? However I would prefer to remove it altogether as we don't have a lot of categories/items.
-
Gian_D JotForm SupportReplied on February 14, 2025 at 10:39 AM
Hi Beth,
You can remove the categories on your PayPal Integration widget. Let me show you how to do it:
1. In Form Builder, click on the Wand icon of your PayPal Integration widget.
2. Click on Settings on the right side of the page.3. Toggle off the switch for Enable Categories on the right side of the page.
-
husnainc576Replied on February 14, 2025 at 11:48 AM
The ability to remove or modify the category dropdown in checkout depends on the platform you're using (Shopify, WooCommerce, Magento, etc.). Here are the possible solutions:
1. Remove the Category Dropdown (Preferred Option)If you don’t need the dropdown, the best approach is to hide it using CSS:
- CSS Method (Recommended for Simplicity)
- Add this CSS rule to your theme’s custom CSS file:
.checkout-category-dropdown {
display: none !important;
}
- Replace .checkout-category-dropdown with the actual class/ID of the dropdown (inspect using browser developer tools).
- Platform-Specific Settings
- Shopify: If you're using Shopify, check Theme Settings → Cart & Checkout to see if there's an option to disable category filtering.
- WooCommerce: You may need to edit the checkout template (checkout/form-checkout.php) to remove the dropdown.
If removal is not possible, ensure the dropdown correctly displays your two categories instead of empty checkboxes:
- Check Category Settings in the Admin Panel
- Make sure the categories are active and correctly assigned to products.
- In WooCommerce, go to Products → Categories and check if they are properly set.
- Fix Dropdown Code (If Editable)
- If the dropdown is dynamically generated, you may need to modify the function responsible for fetching the categories. If using WooCommerce, edit:
<?php
$categories = get_terms('product_cat', array('hide_empty' => false));
if (!empty($categories)) {
echo '<select>';
foreach ($categories as $category) {
echo '<option value="'.$category->term_id.'">'.$category->name.'</option>';
}
echo '</select>';
}
?>
- Ensure hide_empty is set to false so even categories without products are displayed.
If your store has only 2 categories, removing the dropdown is the best option for a cleaner checkout experience. However, if you must keep it, ensure your product categories are correctly configured, and modify the dropdown code if needed.
Let me know which platform you're using, and I can provide more specific steps! 🚀
Your Answer
Something Went Wrong
An error occurred while generating the AI response. Please try again!