montebianco
Forum Replies Created
-
Forum: Plugins
In reply to: [Estimated Delivery for WooCommerce] Estimated delivery for variationsNot working correctly for variations with all back order and notify customer and allow backorder options.
- When there is a variation in stock then the estimated delivery time does not show for the backordered out of stock items. So all variations need to be out of stock to show.
- Cannot check to set the Overwrite general settings options on the page. Reverts to general settings.
Thanks for the offer.
I completely understand the permalinks being affected.
When using Polylang, the default language works as long as the box is checked in settings for “Hide URL language information for default language”
So the url looks like mywebsite/vendor-dashboard/products however if the box is unchecked the url becomes mywebsite/en/vendor-dashboard/ for example, then none of the links from the side menu work.
For the translated pages, the menu is translated for mywebsite/fr/vendor-dashboard/, but the links go no where, and produce an url like /fr/?page_id=15904/products which remains on the dashboard page.
Happy to try the Beta update.
Copied the template files to the child theme directionist>templates>archive and modified the files grid-view.php, list-view.php, loop-grid, loop-list.php to include this line of code :
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
putting it just above the <div class=”directorist-listing-single…
This add the classes like: at_biz_dir-location-my-city at_biz_dir-category-my-category atbdp_listing_types-my-directory
Should be in core code.
As a quick interim fix, and as we have all locations associated with all directories for the moment, we can do a global update with phpmyadmin and running this code,
UPDATE
wp_termmeta
SETmeta_value
= ‘a:7:{i:0;i:25487;i:1;i:25488;i:2;i:31426;i:3;i:25348;i:4;i:25486;i:5;i:25361;i:6;i:25715;}’ WHEREmeta_key
=’_directory_type’;where 7 is the number of directories and the following 5 digit numbers are the ids of the directories.
We would need to run that after each csv import.
- This reply was modified 1 year ago by montebianco.
Thanks,
This works well.
Ideally these selectors should be on each display of a listing… directory page, category page, location page, listing-card, single listing page, and map popup.
It is possible to style items using the data-atts.
example to hide thumbnail on map view:
In the output:
data-atts='{“category”:”my-category”, “shortcode”:”directorist_category”,”_current_page”:”listing”}’
[data-atts*=”my-category”] .media-left {
display:none;}Cheers
Although I can see a reason to have Locations only associated to certain directories, in our case of cities and towns, all the locations are relevant to all directories.
Is there a function that will associate all directories to all locations by default please?
The styling issue was due to the content above the short code.
Part of the header can be removed with header=”no” in the short code. The categories removed with CSS.
Thanks for the suggestion. I had already tried it for categories.
Unfortunately that short code creates a full directory page, which when inserted into a page with short code has very broken styling. It shows the filter, categories list and sorting option.
I am looking to do a simple block like you have for similar listing at the bottom of the Single Listing page… which shows 3 listings either in same category or in same category and tag.
See you demo bottom of page : Similar Properties
https://demo.directorist.com/theme/onelisting-pro/directory/bon-voyage-car-rental/
Thanks! That works well. Saves a lot of time so appreciate the code.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] JSON Error: Syntax errorHi,
Thanks for the pointers.
The problem we found was that a new security plugin locked out the hosting server’s IP address “Reason: Multiple erroneous requests” and “Probing for vulnerable code”. The server IP was whitelisted and it is working again.Returning to this as we noticed that the above function did not work.
Since, we have manually added sales price into the sale price field of the product so had not been doing it dynamically because this still did not show in the meta that is displayed by Google.Thanks, works for single product but not for a variable product though where an option is selected.
Returns… ” Please choose product options…”
I added button styling on line 40 for a button instead of a link (references our theme so anyone else wanting a button needs to use their own button styling classes)
> echo “<td>BUY $qty now!</td>”;
Hi Alex, Sounds good. This would be a great feature to have.
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] search not working properlyUsing Polylang. I have applied the above fix, and the results show BUT the page of results shown on enter revert to default language and do not stay in the selected language.
However, the url for the page does have lang= like:
?s=productname&post_type=product&lang=fr
Any suggestions on how to fix? Thx- This reply was modified 4 years, 6 months ago by montebianco.
Rank Math SEO