Replies: 1 comment 5 replies
-
Can you wrap the
Here's an example of how the redeeming/displaying of coupons is handled in the Starter Kit: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to set up a simple test coupon but it does not get enabled, even qhen I set the expire date:
This is the coupon's .yaml file:
It does not show up in the view
/checkout/information
When I add the tag
{{ sc:coupon:code }}
in a simple div in the information view in order to see if any coupon information shows up I get the following error:property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given
Also, when I click on Save after creating the coupon I get the allert window as if I was trying to leave the page withou saving. I then hit Cancel and the Saved Toast shows up afer that. So something weird is going on.
I installed the addon in an xhisting project and I get the same exact problems with the coupons.
Beta Was this translation helpful? Give feedback.
All reactions