Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » 2 quick questions

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 1351 Views
  • venofiona
    Avatar
    Community Member
    4 Posts

    2 quick questions Link to this post

    First off im pretty new to this CMS so im still getting the hang of it.

    First question: when i go to checkout it says "You do not have any order corresponding to that ID, so you can't checkout this order." I was just wondering what caused this. Im thinking its from the order not being paid since im using the cheque method.

    2nd question: Since i live in the US the flat tax idea doesnt really work, so is there a way to say if you live in a certain state then tax is added. If you dont then no tax.

    Thanks for any help

  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    Re: 2 quick questions Link to this post

    what version are you using?

    Nicolaas

  • venofiona
    Avatar
    Community Member
    4 Posts

    Re: 2 quick questions Link to this post

    0.8.2 ecommerce module
    2.4.5 silverstripe

  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    Re: 2 quick questions Link to this post

    Hi

    I am not sure if you have solved your problem...

    For the latter one you metion (tax), you may want to have a look here:

    https://silverstripe-ecommerce.googlecode.com/svn/modules/ecommerce_tax/trunk (i can email you a download link as well)

    I have just upgraded the tax module, if you change the countries to states in e-commerce then it might work for you.

    With regards to your first question, I am not really sure how to help... I would need more information.

    Nicolaas

  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: 2 quick questions Link to this post

    Hi Nicolaas,

    I’m working on creating the same result. Using a tax modifier for a US client which applies a tax rate depending on which US State the order is being sent to (Shipping address).

    It’s relatively simple in the way that if the order is going to Colorado then there is a 3.9% tax rate applied to the order. Any other State results in the order being tax free.

    I have changed the State field on checkout into a dropdown, and as suggested above created a new tax modifier (attached - extension changed from php to htm - allowed file type) based on the normal TaxModifier.php replacing country for state where I can. Where I’ve run into trouble is the LiveCountry / LiveState function around line 85 as obviously the same functions to retrieve the country do not exist for the State.

    Any clues on the best way to achieve the desired result?

    Thank you,

    Attached Files
  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: 2 quick questions Link to this post

    PS - Using the Shop Module

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: 2 quick questions Link to this post

    What version of shop module are you using?

    Shop 0.8.5 has overhauled the modifiers system slightly.

    This shipping modifier actually adds a form to the cart table, with the ability to set a region: https://github.com/burnbright/silverstripe-shop-shipping-fastwaynz/blob/master/code/FastwayNZShippingModifier.php

    I'm still a little skeptical about the shipping / tax / modifiers system. I'll definitely be making further changes in future.

    Jeremy

  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: 2 quick questions Link to this post

    Thanks for the response Jedateach,

    I'm currently using version 0.8.3. Would I need to firstly update to 0.8.5 before using your FaswayNZShippingModifier as a base to create the State shipping modifier?

    Looking to make the update on a few sites anyway with included order number fix as previously discussed.

    1351 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.