Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shortcode category option syntax or change to catid="x,y,z" ? #23

Closed
alexanders-nz opened this issue Jul 11, 2018 · 1 comment
Closed

Comments

@alexanders-nz
Copy link

alexanders-nz commented Jul 11, 2018

I've had a problem using slugs perhaps some example shortcodes for each option would be useful?
I didn't know that catid was valid until I tested it ..

example of my original syntax
[bigcommerce_product category="online_store/1_litre,online_store/20_litre"]

I've found this works ..
[bigcommerce_product catid="24,25,26"]

Thanks in advance - integration with Wordpress for BigCommerce is essential if BC is going to be retained by my agency.

@karen-white
Copy link

Hi @alexanders-nz , Thanks for the suggestion! I agree it would made sense to have shortcode examples in the documentation.

In case it helps anyone who comes across this issue, in addition to specifying categories by id, you can select by slug with this syntax:

[bigcommerce_product category="bath,garden,publications" order="ASC"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants