Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

missing AJAX product.js selling_plan_allocations

Solved

missing AJAX product.js selling_plan_allocations

appdev2023
Shopify Partner
21 2 3

I have an app on a dev shop that reads  through the AJAX selling_plan_allocations api: https://shopify.dev/docs/api/ajax/reference/product#selling-plan-example

It has worked fine.  Today I created a new shop and product with selling plans. However the selling plans are missing from {my-product}.js

 

has something changed for new shops isn't reflected in the docs? 

Accepted Solution (1)

appdev2023
Shopify Partner
21 2 3

This is an accepted solution.

from PM

@SBD_wrote:

Subscription folks said:

Usually this happens when the store does not have an eligible gateway configured.

Does the store without selling plans have any of those configured?


Enabled shopify payments and the selling plans started showing instantly. FWIW, it was not required to setup payouts or verification, so this will work on dev store.

View solution in original post

Replies 3 (3)

SBD_
Shopify Staff
1831 273 421

Hey @appdev2023 

 

Can you DM me example URLs of the product on the dev shop and new shop?

Scott | Developer Advocate @ Shopify 

appdev2023
Shopify Partner
21 2 3

@SBD_ sent you a DM

appdev2023
Shopify Partner
21 2 3

This is an accepted solution.

from PM

@SBD_wrote:

Subscription folks said:

Usually this happens when the store does not have an eligible gateway configured.

Does the store without selling plans have any of those configured?


Enabled shopify payments and the selling plans started showing instantly. FWIW, it was not required to setup payouts or verification, so this will work on dev store.