We had a lot of inquries about missing icons in product type column WooCommerce product list. Users were asking why icons vanished in WooCommerce product list and how can they get it back. From WooCommerce 3.4.0 update, WooCommerce developers removed that column in product list (as a result of users’ feedback).
Every now and then you need to modify plugin or theme’s templates, add some code snippet or change couple things using CSS. Best way to include your changes and make them update proof is to do it via child theme. Child theme is special theme that loads parent theme files from parent theme folder and your customized files from child theme folder like templates and styles.
Using code snippet plugins is not advised due to performance penalty they cause. Those plugins save code snippets to DB then on each user request these plugins check databaseand load code then execute it. You want to have code ready for execution early in request (so best is to have code in your child theme) and not doing additional database request to retriece and then execute code. There is also possibility for exploits with these plugins.
You need to have base (parent) theme like StoreFront (or Avada, Divi, any WooCommerce compatible theme will do just fine) and then you create new folder wp-content\themes\mycustomtheme\ with its own style.css and functions.php
Here is how to create child theme in 4 easy steps:
Step 1: create child theme folder for example /wp-content/themes/my-first-child-theme
Step 2: in that folder create style.css and functions.php filse, in style.css add code below:
Step 3: go to Appearance -> Themes and activate your newly created child theme.
Step 4: you can now add your modified templates to child theme folder, code snippets to your functions.php and custom CSS to your child theme’s style.css
Once you have customizations in your child theme you can now update plugin or theme without worries that your modifications will be lost during an update (theme or plugin update). ZIP with child theme described in this tutorial can be downloaded here (it will work only if you have installed StoreFront theme).
For example you want to edit Simple Auction template from folder \woocommerce-simple-auctions\templates\single-product\bid.php – copy it to wp-content\themes\yourchildtheme\woocommerce\single-product\bid.php and make changes there. If you do not see woocommerce folder in your child theme then create it. You will need some kind of file manager best is to use FTP client (for example FileZilla or file managed included in your hosting control panel).
We have extensive archive of code snippets and modified plugin templates on our Pastebin archive.
Today we have released version 2.0.0 for WooCommerce Lottery and Pick Number Mod addon which include full Elementor support. In today’s update there were few minor changes and fixes too and version has been bumped to v2.0.0 for both plugin and addon. To edit lottery template with Elementor you need Elementor (free) plus Elementor Pro (paid) or PRO Elements (free).
Couple of screenshots how it looks like Elementor support:
Easiest way to create your single lottery page with Elementor is to create new template for single product. Click on wp-admin menu entry Templates -> Add New and you will get modal popup like on image below:
There you can now create your new single lottery product page – add, rearrange and style Woo Lottery elements like countdown, progress bar, lottery winner, lottery info and Pick Number Mod elements like ticket numbers, lucky dip and question / answers.
In order not to have template applied to all single products, you need to tag or categorize lotteries and then apply template only to tag or category your lotteries are tagged / categorized with.
Make sure that in Elementor Settings -> Experiments beta option “Landing Pages” is set to “inactive” otherwise you will have issues with lottery base page. See screenshot below:
If you miss WordPress widgets when searching widgets in Elementor you might need to disable this experiment – Hide native WordPress widgets from search results. This option is located in Elementor Settings – Experiments (and was introduced in Elementor version 3.5.0 so if you have older version you will not have this issue). See screenshot below.
Make sure to check our article about Elementor Loop Templates Performance Issues since this could slow down your site. This is new feature in Elementor which should be used with special care and avoided if possible.
We have updates ready for WooCommerce Simple Auctions, WooCommerce Lottery and Pick Number Mod addon for Woo Lottery. Feel free to update it if you need new features or have problems with issues that are fixed in latest versions. Detailed changelog is in plugin documentation and for Pick Number Mod addon can be found here.
We have disabled CodeCanyon integration due to problems with their API and now you need to register account here https://wpgenie.org/my-account after which you need to open ticket at https://wpgenie.org/support There you will have option to open ticket for item purchased on CodeCanyon (and you will be asked to enter purchase code after which item will be loaded and support ticket could be submitted) or for order made on our website.
In case you have purchased some addon from our website you can access ticket support system by going to My Account -> Orders and then in order row you will have option to download addon or get support. Please consult screenshot below.
List of WordPress locales useful for multilanguage and translations. It can be set in WordPress Settings or in wp-config.php using constant WPLANG like:
WooCommerce Lottery has been updated to v1.1.26 and Pick Number Mod addon latest version is 1.3.4. We suggest you to update those since there are quite few feature and performance improvements.
We have new store page and purchase are done via PayPro Global website which allows variety of payment options and better invoicing. After purchase has been completed you will get access to files and we will create you account on wpgenie.org for accessing future updates via My Account / Downloads. Same coupon code works there too!
We have issued new versions for WooCommerce Lottery and Pick Number Mod addon. Please check changes and new features in change logs and update if you need to. Update process is simple – deactivate and delete old versions, upload and activate new ones. All data will remain intact. Find our more about WooCommerce Lottery and Pick Number Mod addon.
Appmaker a tool / plugin which allows conversion of your WooCommerce store to native mobile app and our WooCommerce Simple Auctions plugin is supported by Appmaker.xyz.