missing AJAX product.js selling_plan_allocations

Solved

missing AJAX product.js selling_plan_allocations

appdev2023
Shopify Partner
20 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
20 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
1829 271 414

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
20 2 3

@SBD_ sent you a DM

appdev2023
Shopify Partner
20 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.