Giter VIP home page Giter VIP logo

woocommerce-external-product-embed's People

Contributors

tlshadowrex avatar wpprodigy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce-external-product-embed's Issues

Feature request: post_author

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. :-)

multicurrency eshop.

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.

Publish to wordpress.org for better auto updating !

  • 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!

error on saving settings

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

critical error on multi site

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)

Issues with Column Display

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

Pull data from multiple woocommerce sites?

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?

Error when entering credentials

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.

screen shot 2017-12-16 at 19 20 09

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?

Filter by category or tag

Hi.
Is it possible to add shortcodes in order to add external products filtering by product category or product tag?

Fatal error on Woocommerce 3.5.x

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

Error after activation

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?

Columns not filled correctly

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' ]

GORDIJNEN-

https://tinyurl.com/2mdkt4p5

Strange behavior

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?

Sanitize the product permalink w/ esc_url_raw()

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

Broken on Woocommerce 3.x

Hi.
The plugin is broken on Woocommerce 3 version.

Diaplays an error 500 and doesn't render post content.
Coudl you fix it?

The site is experiencing technical difficulties.

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?

Feature: Product Category Shortcode

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.

Feature Request: Affiliate ID in Links

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!

multi store

Hi, I need to connect different stores in different pages, is it possible to put the parameters of the API KEYS in the shorcode?

API Connection Error. Check the Store URL and ensure the REST API is enabled on the external site.

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!

Product Description Request

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.

Language problem

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?

issue in data fetching

i add all the process but not fetching values
Here is the link

here is my code (Edit: redacted)

please resolve the issue
thanks

Orderby='rand' problem

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.

  1. Is it possible to display products from a specific attribute like pa_brand for example?
  2. Is it possible to exclude out-of-stock products?

Many Thanks,

Feature request: make $opening, $closing and $default_atts overridable from within product-content.php

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.

Not Working Anymore

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,

Upgrade to WC REST API v3

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 */
		];

Vendor folder

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!

Feature request: category name or slug compatible filters on shortcode

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']

Feature Request - More options for displaying products

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?

  • Display random products from the woo store,
  • Display products from a specific category
  • Display products with reviews / specific rating
  • Display on sale products
  • Don't display out of stock products.

Uncaught Error: Class 'Automattic\WooCommerce\Client' not found

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/

inventory management

how does this plugin deal with inventory? does it remove the item from the master's woocommerce inventory?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.