Jump to content
fruid

persistent net price in the cart, taxes never applied

Recommended Posts

Still haven't resolved this issue 

I thought I move my issue to a separate thread.

I'm in SnipWire/SnipCart test mode, SnipWire version 0.8.7, PW version 3.0.169

I'm struggling with the taxes, they just won't get applied to the products, what appears in the cart is always – all the way to the confirm order dialogue – without taxes.

Here's everything I'm working with:

SnipWire Settings

Taxes Provider, I can choose between:
- Snipcart (no effect - I added additional taxes on snipcart.com which just won't appear)
- Integrated (SnipWire)

On snipcart.com:
- "included in price" (no effect, checked or unchecked)
- "applies on shippings" (no effect, checked or unchecked)

So I selected Integrated (SnipWire). Then…

- Taxes Included in Prices (no effect, checked or unchecked)

Taxes Configuration:
- 10 % VAT, Shipping: unchecked

Shipping Taxes Handling
- No shipping taxes (for now)

SnipWire Webhooks Endpoint: /webhooks/snipcart (also added to the Snipcart dashboard like this: http://mywebshop/webhooks/snipcart)

Product Settings

Taxable
- Product is taxable (no effect, checked or unchecked)

VAT (select field)
- 10% VAT (no effect, selected or not)

Ironically enough, I entered the products' gross prices yet in the cart their net prices appear.

Snipcart Products

 click "Refresh" – no effect

Snipcart.com Settings

prices are wrong here. I entered "," as a decimal seperator, now the prices are all hundredfold, i.e. 14,80 -> 1,480.00
- refreshed products - no effect

____

Also tried the usual suspects, deleting cache, incognito mode.

What else can I try? If I contact to snipcart.com, they always advise me to talk to the PW "SnipWire" module developer @Gadgetto

Please help!

Share this post


Link to post
Share on other sites

Moderator note: this is not a module support thread, so I'm moving it to the General Support area of the forum instead. Please keep in mind that the Modules/Plugins area is only intended for module-specific support threads. Thanks!

Share this post


Link to post
Share on other sites

[SOLVED] 

Apparently, if you change the decimal operator to a comma, don't bother changing the price format in that very field's settings in your ProcessWire installation, which is what I did, cause the regex is [-+]?[0-9]*[.]?[0-9]+ and the field note says "Dezimal mit einem Punkt (.) als Trennzeichen".

Rather leave it as is, enter the prices with a dot as decimal separator, head over to your snipcart.com dashboard > store configurations > regional settings, simply change it there and snipcart should do all the rest.
Taxes work fine this way and frontend shows a comma in lieu of a dot.

Anyways, hope that helps someone else in the future.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By fruid
      I get an "Undefined Variable" Error on a template for a variable that I declare on the _main.php template which is clearly included.
      Some background: At the beginning I didn't have a _main.php template for that particular project because I started off with a different profile but all my other projects work that way so I just created one and yes also included it on the config.php…
      $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; $config->useMarkupRegions = true; $config->useFunctionsAPI = true;  Might there be something that am I doing wrong or missing out on though? 
      Also, not sure if related, when I include "namespace ProcessWire" on the top of the template, cause I thought that might be the issue, it wouldn't know the functions like __() and _x(), you know, the ones to make strings multilingual.
      Call to undefined function _x(), did you mean _()?  
    • By Gadgetto
      SnipWire - Snipcart integration for ProcessWire
      Snipcart is a powerful 3rd party, developer-first HTML/JavaScript shopping cart platform. SnipWire is the missing link between Snipcart and the content management framework ProcessWire.
      With SnipWire, you can quickly turn any ProcessWire site into a Snipcart online shop. The SnipWire plugin helps you to get your store up and running in no time. Detailed knowledge of the Snipcart system is not required.
      SnipWire is free and open source licensed under Mozilla Public License 2.0! A lot of work and effort has gone into development. It would be nice if you could donate an amount to support further development:

      Status update links (inside this thread) for SnipWire development
      2020-07-03 -- SnipWire 0.8.7 (beta) released! Fixes some small bugs and adds an indicator for TEST mode 2020-04-06 -- SnipWire 0.8.6 (beta) released! Adds support for Snipcart subscriptions and also fixes some problems 2020-03-21 -- SnipWire 0.8.5 (beta) released! Improves SnipWires webhooks interface and provides some other fixes and additions 2020-03-03 -- SnipWire 0.8.4 (beta) released! Improves compatibility for Windows based Systems. 2020-03-01 -- SnipWire 0.8.3 (beta) released! The installation and uninstallation process has been heavily revised. 2020-02-08 -- SnipWire 0.8.2 (beta) released! Added a feature to change the cart and catalogue currency by GET, POST or SESSION param 2020-02-03 -- SnipWire 0.8.1 (beta) released! All custom classes moved into their own namespaces. 2020-02-01 -- SnipWire is now available via ProcessWire's module directory! 2020-01-30 -- SnipWire 0.8.0 (beta) first public release! (module just submitted to the PW modules directory) 2020-01-28 -- added Custom Order Fields feature (first SnipWire release version is near!) 2020-01-21 -- Snipcart v3 - when will the new cart system be implemented? 2020-01-19 -- integrated taxes provider finished (+ very flexible shipping taxes handling) 2020-01-14 -- new date range picker, discount editor, order notifiactions, order statuses, and more ... 2019-11-15 -- orders filter, order details, download + resend invoices, refunds 2019-10-18 -- list filters, REST API improvements, new docs platform, and more ... 2019-08-08 -- dashboard interface, currency selector, managing Orders, Customers and Products, Added a WireTabs, refinded caching behavior 2019-06-15 -- taxes provider, shop templates update, multiCURL implementation, and more ... 2019-06-02 -- FieldtypeSnipWireTaxSelector 2019-05-25 -- SnipWire will be free and open source Plugin Key Features
      Fast and simple store setup Full integration of the Snipcart dashboard into the ProcessWire backend (no need to leave the ProcessWire admin area) Browse and manage orders, customers, discounts, abandoned carts, and more Multi currency support Custom order and cart fields Process refunds and send customer notifications from within the ProcessWire backend Process Abandoned Carts + sending messages to customers from within the ProcessWire backend Complete Snipcart webhooks integration (all events are hookable via ProcessWire hooks) Integrated taxes provider (which is more flexible then Snipcart own provider) Useful Links
      SnipWire in PW modules directory SnipWire Docs (please note that the documentation is a work in progress) SnipWire @GitHub (feature requests and suggestions for improvement are welcome - I also accept pull requests) Snipcart Website  

       
      ---- INITIAL POST FROM 2019-05-25 ----
       
    • By Ivo
      Hi Folks,
      This PW site https://ancientlakesmagnesium.com.au/ currently runs Snipcart. Products are built in PW pages but the cart and checkout is managed by Snipcart. Snipcart adds new products to its inventory when first added to the cart, thus a copy of the product catalog is on the Snipcart account. My Client manages all the sales/transactions on Snipcart. The problem is Snipcart is limited, my client wishes to connect to smile.io which is much cheaper to do with a pre-built Shopify app and to have PayPal Subscriptions. Snipcart is showing to be limited in several things now that their business has grown.  
       
      My question is, has anyone had success plugging in products from PW pages into Shopify via the Shopify API? I spoke to Shopify support and they pointed me to the one post in this forum, but it doesn't give any detailed instructions and it quite old now. My other option is to build a Shopify system as a sub domain and somehow build an app that mirrors the menu structure on the PW site so that the user doesn't have to maintain 2 menus. 
       
      If anyone has any suggestions that would be most appreciated.
       
      cheers,
      Ivo
×
×
  • Create New...