Been having a super hard time adding my Amazon pro...
# support
w
Been having a super hard time adding my Amazon products due to Spree's pricing. I've been trying to follow https://blog.magmalabs.io/2020/10/22/how-pricing-selection-works-in-solidus.html but I just can't seem to get rid of these syntax errors. Should all those classes/modules even be in my Rake task? https://pastebin.com/Wxg5Ng2g
amazon.rake:336: syntax error, unexpected end-of-input, expecting 'end'
Thanks!
j
I think you’ve just not closed everything in there, you need some more
end
w
Yup, turned out to be two poorly written if/else loops :)