Magento 2 Default RSS Generator only part of products - rss

I am using Magento 2 Community 2.1.9, I am also set the default RSS feeds. I reviewed the content of the XML generated, it shows only some of the eligible products.
For example, I set to generate XML for a category of 'shoes', only some of the shoes inside this category are included in the XML. Most are not included.
I am confused, do you have any idea? Is there a bug? How I can modify the code to make it include everything under the said category.
Thanks.

Please check if the products are visible/in stock/enable
Also compare any one of the product that is not seen in the feed with the product that is seen to check all the attribute values are set properly.
Hope this helps

Related

Product Structured Data Bug in Woocommerce 3.5

Using woocommerce 3.5 & wordpress 5, Some days before i noticed that google is not showing rich snippets for my products when i test a product URL at google structured data testing tool, product meta was disappeared.
product structured data is visible in Breadcrumb list. how i can show my product data separately, Please help here is my store URL https://techcart.pk
The reason for this is that the Product and final breadcrumb item share the same "#id". This means they are considered to be the same entity, so they get merged.
They are both using an "#id" that represents the page they are on. So in a way they are also sharing the "#id" of the WebPage.
I'd recommend changing their "#id" to something unique. A common solution is to add a # value to the end if the "#id". e.g.
https ://example.com/product12345#Product
That indicates that it is a Product entity on the page.

Woocommerce Search by Attributes

I am facing a little problem with the default woocommerce search system.
I need to open a WooCommerce based Book Store. ALl The books contain unique properties like Identification No and ODN or IBN.
Now i need a search bar which gives me the result of the relative book if i enter any of the unique properties like Identification No and ODN or IBN in the search bar.
A plugin or code would work.
Thankyou very much..
I have found a solution I hope it helps to the people to who are facing the same issue.
I have found a plugin by the name SearchWP. It is really an extensive search plugin. It supports WooCommerce and also supports custom fields.I can also weight to attributes which are saved as meta fields to sort the search. Here is a video that gives you an overview of the plugin:
SearchWP

RSS Feed Sticky Post?

My latest RSS feed shows 20 posts for example, but I want to include a certain category no matter how old the post is (for example, my 'featured' post category), and also just get 1 latest post from this category.
I've been trying to look for plugins, but I'm not exactly sure what it would be called. Any help would be appreciated.
Try WP RSS Aggregator plugin, it has many options that i think it will help you for example :
-Set the name of the feed source
-Select number of posts per feed you want to show and store
and more.

WooCommerce Categories / Tags Archive - 'No Products Found'

I wonder what could have caused this problem? The ‘Shop’ page is showing the products / categories (i.e. works normally) and the permalink is set to default, every page works except the Categories / Tags archive pages for WooCommerce products which will only show “No products found which match your selection.”
The products are set to be visible in both ‘Catalog and Search’ but it only appears on search results and ‘Shop’, but not the catalog (in either categories or tags).
Thank you for helping.
Are you sure your products are categorized or tagged? If yes, do you use defaults woocommerce templates or using custom ones in theme?
Finally found the culprit. It is a silly mistake which I overlooked. I added a custom post type and modified the query in functions.php to include the new custom post type in archives, but I hard-coded the post types rather than using get_post_types() to include all post types available (including those added by plugins).
The problem is already solved now. Thanks for helping.

Organising Custom Content for Wordpress

I am already very confused as I am typing this thread out. Please forgive me if my query is a little too difficult to understand.
I have an existing Real Estate Site that I intend to move 100% into WordPress. The existing site has one backend for listings and another blog section for reviews.
You can probably see why I have decided to make the move to a full WordPress powered site. Maintaining both ends of the site is both tedious & cumbersome.
I have read and understood Custom Post Types & Custom Taxonomies and how they work. I am rather excited about implementing them. However there is some content I am finding difficult to organise.
* An existing database table of about 4,000 Condominium Projects
Each entry in the Condominiums table has some "bio-data" like Year Completed, No. of Units, Facilities, Amenities etc.
Currently each listing in my site has an ajax query that fetches information from this table on demand.
In the new site, I intend to have a link to the respective condominium in each property listing.
This link should display information about the specific condo and display 'results' of matching listings.
Also, some condos have long article reviews done for them. In my current site, these reviews are displayed in the blog section. Separated altogether.
So here's my question.
How would I connect everything together. A duplicate perhaps? Taxonomy & Post for each condo? That will mean over 3,000 unique entries. Wouldn't that be an "overkill"?
If it is a taxonomy, the link will probably display all posts (listings) that have that condo name. But it wouldn't link to an actual page of either it's review or bio-data.
Any thoughts will be very much appreciated... Please feel free to ask if I have missed out any vital information!
Thanks in advance
The seems very straightforward to me and a perfect fit for WordPress (and I shudder to think of doing anything in Drupal you don't have too; and this from someone who developed in Drupal for 2+ years...)
Anyway:
Each condo gets stored in a custom post type.
All the "bio-data" gets stored in a custom field. Alternately you could create a taxonomy called "bio-data" and have a term value for each of the options but this won't work well for things like "SqFt" unless you do ranges (i.e. 1200sft-1300sqft) because terms can only be used for "true/false" attributes (i.e. either it applies or it doesn't) and not for specifics like exact offer prices, etc.
The long articles can just be stored in the "content" section of the condo post type (unless you have multiple per condo then you can either store in comments as #Jan Fabry suggested or you can create a custom post type "review")
Like I said this is really straightforward. Of course I've lived and breathed database apps for 20+ years so it comes second nature to me. Any questions, just ask...
This was how I managed to solve my own question!, Ironically enough, MikeSchinkel had an almost identical answer, so I accepted his answer instead.. So here's what I have:
A Custom Post Type for Condominiums labelled 'Reviews' in the admin section. The property 'Bio-data' is in custom fields. This Custom Post Type has a rewrite rule:
array( 'slug' => 'condominium' );
That way, I managed to have each Permalink to show something like:
http://domain.com/condominium/post-title
I have added a page called Condominiums and had it set to use a custom template - which basically shows the latest posts of condominiums with reviews. I also intend to extend the template for it to show a Search Condominiums function.
Added relevant taxonomies that can be searchable - like Brands & Developers.
I have already converted previous reviews to this. The last thing I will have to do will be to post all the Condominiums from the condominiums database to the wp_posts table using this Custom Post Type.
This is the part I am crossing my fingers for as I will have to see if the rewrite rules are going to significantly slow down my site as this will be 4,000 entries. This issue has been recently brought to my attention here
http://core.trac.wordpress.org/ticket/12935
I will update this thread once I have completed the importing - since this is the only place I have posted a question and have it answered - if anyone might be interested!
Thank you for your suggestions. I hope this helps someone else who is in a similar predicament.
Would it work if you view the Condominiums as posts, and the reviews as comments to these posts? This would keep them together, and is conceptually not even too far from the original intention. You can put the extra information in custom fields and tags (which gives you free searching capabilities). Then you should see for yourself if you still need to create a custom post type, or just do it with regular posts (why not?).
But yes, you are stretching the original WordPress concept a little. Drupal or some other CMS might be a better option, and have more plugins that are suited to your situation.

Resources