Caleb Burks
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Custom script doesn’t work in adminAre you sure
if( 'post.php' != $hook )is the hook being passed? Remove that for testing.Look in the dev console, and see if your script is loaded on the page. If you see it, open it up in a new browser window to make sure path was correct and all.
Also, variations might not be loaded when you code first runs. May need to refresh or hook into an event when variations are loaded / refreshed / paginated.
Forum: Plugins
In reply to: [WooCommerce] get_available_variations return empty from Woocommerce 3.3.2+If you comment out these lines, do attributes start appearing again on your frontend: https://github.com/woocommerce/woocommerce/blob/3300534963f83cb0ec685510e90ef3fd07dd875f/includes/data-stores/class-wc-product-variable-data-store-cpt.php#L179-L181 ?
I’ve run into this a handful of times now, and seems to be server caching related so far.
Forum: Plugins
In reply to: [WooCommerce] Link to separate page for full WooCommerce registrationNot quite sure what you mean by “full registration form”. Is this more than what is shown on the normal My Account page? Where are the extra form fields coming from?
Forum: Plugins
In reply to: [WooCommerce] categories & products shop page does not display correctlyThe “show categories & products” setting should do exactly what you want. Either your theme or another plugin is causing a conflict with this setting.
Following this guide to find the culprit: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Forum: Plugins
In reply to: [WooCommerce] Product page and private pageIt is not possible to remove the default product page I’m afraid. The redirect to is though is a bug, and will be resolved in WC 3.4. There is a workaround snippet here: https://github.com/woocommerce/woocommerce/issues/19032
> Is it possible to create a private page ONLY for members from woocomerce?
How are members declared on your site? Something like https://wordpress.org/plugins/groups/ can let you hide pages for certain roles.
WooCommerce Memberships as further functionality in this area as well: https://www.woocommerce.com/products/woocommerce-memberships/
Forum: Plugins
In reply to: [WooCommerce] Force register after Proceed To CheckoutThey can just first make an account, then do the address fields later.
It is possible to edit address fields from the My Account page/area though.
Forum: Plugins
In reply to: [WooCommerce] How do I make new meta_key similar to _price?> How do I make it as custom slider?
Custom code will 100% be needed. I can’t give the directions here, as it’s quite possibly a time intensive task. You’ll need a developer.
– http://jobs.wordpress.net/
– https://codeable.io/
– https://woocommerce.com/experts/Forum: Plugins
In reply to: [WooCommerce] Endpoints reloading the pageThere are definitely some server oddities going on. I would maybe look for a preconfigured WordPress droplet to go with.
As for the issue, check the endpoint settings at WooCommerce > Settings > Accounts and make sure all looks correct there as well. Maybe remove any text and re-save the page.
Forum: Plugins
In reply to: [WooCommerce] Customize checkoutYou can add custom CSS to your child theme or via another plugin. See https://calebburks.com/correctly-add-custom-code-woocommerce/
Forum: Plugins
In reply to: [WooCommerce] Edit template of category page showing subcategoriesYou can use the products shortcode to display specific categories. Listing a categories to display is the same thing as displaying subcategories of a category.
This template is used for the archive pages: https://github.com/woocommerce/woocommerce/blob/master/templates/archive-product.php. So you can use the hooks there to add content to the page via another plugin or in a child theme.
Can wrap your custom content added via the hooks in a conditional with
is_product_category('cat-name')to conditionally show content only on certain category pages: https://docs.woocommerce.com/document/conditional-tags/#section-5You could use shortcodes for this as well: https://docs.woocommerce.com/document/woocommerce-shortcodes/
Else, the woocommerce.php template file could also be worth a shot: https://docs.woocommerce.com/document/third-party-custom-theme-compatibility/#section-1
Forum: Plugins
In reply to: [WooCommerce] Image Thumbnail RegenerationThumbnails will be regenerated slowly one at a time to prevent overloading the server. This could take a while though before all images are regenerating.
So the alternative is to stop the automatic regeneration (there will be a notice), and use https://wordpress.org/plugins/regenerate-thumbnails/ to get it done all at once.
Forum: Plugins
In reply to: [WooCommerce] Modify featured image size only for custom front-pageYou can set up custom image sizes in WordPress: https://developer.wordpress.org/reference/functions/add_image_size/
Then on your custom front page, you can retrieve the features image ID, and call the appropriate image size for it.
Forum: Plugins
In reply to: [WooCommerce] Disable AJAX refresh on checkoutGonna need to hook into the jQuery, or override the script file and use your own I believe: https://github.com/woocommerce/woocommerce/blob/master/assets/js/frontend/checkout.js
Forum: Plugins
In reply to: [WooCommerce] Why woocommerce checkout form validations are not workingCheck for plugin and/or theme conflicts, as that is very likely the cause here. https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4