wpprodigy / woocommerce-external-product-embed Goto Github PK
View Code? Open in Web Editor NEWProvides a shortcode to embed products from another store.
License: Other
Provides a shortcode to embed products from another store.
License: Other
Filtering by post status (like: publish) and stock status (like: instock / outofstock) would be a great improvement to control what you want to show.
Hello, I have the following error when saving.
There has been a critical error on this website. Please check your site admin email inbox for instructions.
If you can add a post_author query, then you can also start hooking into WC Vendors for multi vendor marketplaces. Quite a useful feature to add. Simply doing post_author="xx" where xx is ID, and you'd make a lot of our members happy. :-)
There are quite possibly some issues when the WooCommerce site is on https.
Need to test having a site home url in "https" format, as well as triggering this option: https://github.com/WPprodigy/woocommerce-external-product-embed/blob/master/classes/class-woocommerce-external-product-embed-transients.php#L56
Hi is it somehow possible to change the default eshop currency for displayed products? i have the multidomain, multilanguage and multicurrency shop setup with polylang, woocomerce polylang integration and other plugin for currency switch on frontend, but those settings are not displayed for api call.
it would be easiest to set the currency shortcode in shortcode call for example, but how.
Please make it available on wordpress.org
Bring back random products selecting back:
fetch product with 'ramdom' rather than 'on_sale/featured/recent'
and orderby='rand' is not working !
Thank you, WPprodigy!
Log:
Fatal error: Uncaught Error: Class 'Automattic\WooCommerce\Client' not found in /wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php:35
Hi there,
I have the plugin on my website but it seems it cannot resolve Persian URLs.
All the URLs is displayed like this and lead to a 404 page:
https://arikeadl.ir/academy/-------/
Is there a solution for this?
As a future-proofing update, replace the use of raw cURL queries with calls to wp_remote_post()
or wp_remote_get()
respectively.
I wanted to use this to show products from other sites to main site, i running wp multi site with sub directories, and followed the instruction when activating on main site all i get is a message that says... critical error occured, please check you inbox.
I never got any email, i created the rest api on the other site as mentined and add it to new the disire site (main site)
Hello
We are using this plugin to fetch certain category data into another website, but is not supporting additional attributes. The main attribute we are using is column with data in 3 columns. Also want to ask, if there is any provison to show pagination?
Thank You
hi
my product link include middle east (persian) character and when i click on product,show this link: https://myajil.com/product/---500-/
Is it possible to pull product data from more then 1 source?
I have 3 wordpress / woocommerce sites and would like to add the latest products from all three onto a 4th wordpress site... They would need to be seperate so I can display them on different pages etc (site A products on page1, site B products on page2 etc)
How easy would this be?
Not sure if it's just me, but none of these are working for me? - https://gist.github.com/WPprodigy/96dbaeab8820cc85af42
Where am I supposed to add these codes?
Hi,
First of, this looks like a great plugin, but im having a big problem with it.
When I enter the API credentials into the settings page of your plugin, it produces this error upon saving them: API Connection Error. Check the Consumer Secret.
The site running Woocommerce is currently on the latest release.
To troubleshoot, I have done the following:
Revoked & regenerated API Keys.
Uninstalled & reinstalled your plugin.
Please can you help me with a fix?
Hi.
Is it possible to add shortcodes in order to add external products filtering by product category or product tag?
when inserting the shortcode the post breaks with the following fatal error message:
Fatal error: Uncaught Error: Class 'Automattic\WooCommerce\Client' not found in /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php:35 Stack trace: #0 /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php(63): WCEPE_API_Client->connect() #1 /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-data-store.php(65): WCEPE_API_Client->get_products(Array) #2 /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-data-store.php(56): WCEPE_Data_Store->save_loop_products() #3 /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-shortcodes.php(84): WCEPE_Data_Store->get_loop_products() #4 /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-shortcodes.php(195): WCEPE_Shortcodes::product_loop(Array, Array) #5 / in /var/www/webroot/ROOT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php on line 35
After activation I get the following error:
mepages/u16211/anhaenger.craftmax.com/wp-content/plugins/woocommerce-external-product-embed-master/vendor/autoload.php): failed to open stream: No such file or directory in /homepages/u16211/anhaenger.craftmax.com/wp-content/plugins/woocommerce-external-product-embed-master/woocommerce-external-product-embed.php on line 54
Warning: include_once(): Failed opening '/homepages/u16211/anhaenger.craftmax.com/wp-content/plugins/woocommerce-external-product-embed-master/vendor/autoload.php' for inclusion (include_path='.:/vrmd/webserver/php-7.3.26/lib/php') in /homepages/u16211/anhaenger.craftmax.com/wp-content/plugins/woocommerce-external-product-embed-master/woocommerce-external-product-embed.php on line 54
What can I do?
I want to show multiple products categories on one page. But the first row is not filled totally.
these are the shortcodes that I'm using.
[wcepe_products category='46' hide='button, price' order='asc' number='26' columns='5' ]
[wcepe_products category='272' hide='button, price' order='asc' number='26' columns='5' ]
Not getting very far with this plugin, although I love the concept so hoping to stick with it! Getting this error running WP 4.3.1 and WC 2.4.10. Any help appreciated.
Hi Caleb. I took a second shot at testing your plugin together with a multilingual Woo store. Result: partial success and partial disaster ;-).
Success: Apparently something has happened with the Woo Rest API as I could now access products also in other languages than site default (which was the initial problem I had). Happy, happy!
However, I managed to do this exactly one time, after that the remote page (where your plugin is installed) totally broke down. What exactly happens is that the page HTML renders up to your plugin but no further and the page totally freezes (seems to Javascipt is loaded either, for instance to top admin bar is not shown on the page. The page can be seen here: http://sail-in-finland.info/product-test/.
At the point where the HTML stops is your shortcode.
Site is WP 4.4.2, Woo not installed, remote site is WP 4.4.2 also and WC 2.5, both with Comet cache. I've tested also with the Cache cleared, does not seem to be related to that. I've reset the REST credentials a number of times, the remote site does not see the REST call so looks like the problem is on the side the plugin?
Hi there,
Thanks for this awesome plugin. I installed it today and it looks great. The only problem is that all the permalinks start with three extra dashes (---) that make links return a 404.
Could you please look into this problem.
Many Thanks
Hi.
The plugin is broken on Woocommerce 3 version.
Diaplays an error 500 and doesn't render post content.
Coudl you fix it?
Hi
I integrated the code here https://anhaenger.craftmax.com/kasten/. But for this product https://www.craftmax.com/produkt/unsinn-pkw-kastenanhaenger-750-alu-bordwaende-ungebremst/ the price won't be updated.
How often is the information being updated or do I have to delete the Woocommerce cache or so?
Hi!
If I add a shortcode to a page the page breaks and I get the message "The site is experiencing technical difficulties." I tried it on another WordPress installation but same issue.
What could be the reason for that?
Our use is constantly timing out. I imagine it is because we are trying to load 20+ products via single embed code. The best solution I imagine would be a way to get an entire category instead of doing products individually, this would reduce the query to the remote server significantly than 20+ separate API requests.
This would be awesome if in the Settings we could add the Affiliate ID to the end of all product URLs. This way we could have affiliate use this on their websites so we can control the content form our main site!
Hi, I need to connect different stores in different pages, is it possible to put the parameters of the API KEYS in the shorcode?
Hi.
Any way to add PRODUCT TAG in order to extract products by tag slug?
Please help.
Everything worked fine with this plugin until we updated SSL cert on the remote site where the products are being pulled from.
I have generated new API Key & Secret, but when I save I get this error:
"API Connection Error. Check the Store URL and ensure the REST API is enabled on the external site."
I can however access _https://mydomain.co.za/wp-json/ with a normal get request via POSTMAN using the same API Key and Secret.
Any help would be greatly appreciated!
Is there any way you can choose to show the product description as well for each product? I've been trying to use the REST API hooks for woocommerce but am coming up short.
My external woocommerce shop is in Spanish.
When I display the products on an external website it shows the buttons VIEW PRODUCT and SALE in English.
How can I solve this?
i add all the process but not fetching values
Here is the link
here is my code (Edit: redacted)
please resolve the issue
thanks
Hi there,
When I put a shortcode like the following in a page, it shows nothing.
[wcepe_products category='36' orderby='rand']
But when I change the orderly attribute to something else like title or date, it starts displaying products again.
I have got two more questions but I don't know if this is the right place to ask them or not, if not please advise where I should ask them.
Many Thanks,
Firstly - I just love your plugin as it saved me of inventing the wheel myself (and writing plugins like these are not my daily cup of tea so to speak)!
During my implementation I experienced the need to tailor the $opening
and $closing
sections so it blends nicely in within the theme I use (and use case). The same is also applicable for the $default_atts
. All 3 variables are within class-wcepe-shortcodes.php
.
Would it be possible to make those 3 variable overridable from the product-content.php
file which one can add to the (child) theme folder?
Thanks!
--
Some background on my use case: I'm overhauling a Multisite installation for a group of whisky enthusiasts who buy some casks together. The website is split into 3 sections, each with it's own purpose: 1) main info + Newsletter, 2) the WC shop, 3) a wpForo forum. Within the main info site I use wcepe to display a summary of the products (cask info, mostly product attributes). Within the wpForo forum I use it to include a table with all the product (cask) details to the first post of a topic. So in both cases the template and the defaults are different.
Hi Caleb,
Just wanted to let you know that this plugin has stopped working, since the recent update of WOOCOMMERCE. It shows nothing anymore.
Regards,
v3 of the WC REST API is out for a while already so perhaps it's an idea to switch over to that one. I tested it by changing it in the WCEPE_API_Client to 'version' => 'wc/v3',
and all is still working fine as far as I can see.
And perhaps it's also an idea to add 'query_string_auth' => true
to the line below it. This line could be commented out with the remark that it's needed when using HTTPS.
So that would make it like:
private function connect() {
$settings = get_option( 'wcepe_settings' );
$options = [
'wp_api' => true,
'version' => 'wc/v3',
# 'query_string_auth' => true /* uncomment when using WCEPE over HTTPS */
];
I am trying your plugin, but in file "woocommerce-external-product-embed.php" on line "54" it wants to include "/vendor/autoload.php" but this is no located in the repo. As a result we cannot run it without errors. Or am I doing something wrong? Thanks in advance!
Hi, as soon as the fatal error bugs are resolved I'd like to display products from certain categories on varied pages of my website. The names of the categories of the 2 wordpress installs I created equal (only with "ID" can not do that), so it would be very useful if the plugin's shortcode allowed to use the full category slug, so I can show the products on the pages that have some relation.
Example: [wcepe_products category='sports,goods-from-china']
I have been looking for a plugin like this for ages, so that I can display products from my store to other sites that I run. I have managed to get it working on my site and it works great. I have found however that the [external_product] shortcode only works when i specify a product id, which is great for promoting a specific product or products. I have a lot of products and want to have more options for displaying different types of products from my woo store.
Is there a way to add the following features to give more options for displaying products?
Hi
I get error when trying to use a plugin. I use WordPress version 5.7.1
Une erreur de type E_ERROR a été causée dans la ligne 33 du fichier /home/bwt/webapps/BWT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php. Message d’erreur : Uncaught Error: Class 'Automattic\WooCommerce\Client' not found in /home/bwt/webapps/BWT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php:33
Stack trace:
#0 /home/bwt/webapps/BWT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-api-client.php(45): WCEPE_API_Client->connect()
#1 /home/bwt/webapps/BWT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-admin.php(240): WCEPE_API_Client->test_connection()
#2 /home/bwt/webapps/BWT/wp-includes/class-wp-hook.php(292): WCEPE_Admin::test_api_connection()
#3 /home/bwt/webapps/BWT/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#4 /home/bwt/webapps/BWT/wp-includes/plugin.php(484): WP_Hook->do_action()
#5 /home/bwt/webapps/BWT/wp-content/plugins/woocommerce-external-product-embed-master/classes/class-wcepe-admin.php(199): do_action()
#6 /home/bwt/webapps/BWT/wp-includes/class-wp-hook.php(292): WCEPE_Admin::wcepe_options_page()
#7 /home/bwt/webapps/BWT/
how does this plugin deal with inventory? does it remove the item from the master's woocommerce inventory?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.