Update Prices in Baskets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joshpappas
    Mivite


    • Oct 2013
    • 260

    #1

    Update Prices in Baskets

    Is there a way to update prices in baskets? I'm thinking maybe an overnight update as long as the cart hasn't been updated within the last hour, or something like that. Whenever we update prices on our website, we always end up with orders coming through on the old price for several weeks, because we have customers who spend a lot time putting together their orders. Would this require a custom module?
  • Bruce - PhosphorMedia
    Developer Partner











    • Mar 2006
    • 11256

    #2
    You would need a custom module to do this seemlessly.

    I think it could be implemented as a SMT scripting doing something like:

    On the Basket screen, create Basket Custom field with "time_created" value.
    Then, on the Basket screen, compare "time_created" with an offset (say 7 days). If basket was created more than 7 days, roll up the current contents of product and attributes, delete the basket completely, then reinstate the products/attributes you saved before.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment

    • joshpappas
      Mivite


      • Oct 2013
      • 260

      #3
      Yeah, that's what I was afraid of. I already have custom template code to refresh basket discounts, so maybe I'll roll that up together with this into a module. Thanks for the response!

      Comment

      • Rick Wilson
        Uber Mivite











        • Aug 2007
        • 10119

        #4
        Josh,

        We just built a method of doing this, Nick is out the rest of the week, but we'll post our findings here or you can email Nick and I and he'll get back to you next week.
        Thanks,

        Rick Wilson
        CEO
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment

        • joshpappas
          Mivite


          • Oct 2013
          • 260

          #5
          Awesome, rick , thanks for the info! I'll shoot him an email.

          Comment

          • lesliekirk
            Super Moderator











            • Aug 2008
            • 9290

            #6
            Originally posted by Rick Wilson View Post
            Josh,

            We just built a method of doing this, Nick is out the rest of the week, but we'll post our findings here or you can email Nick and I and he'll get back to you next week.
            Can you post the findings here, please? Or should I email Nick, too?
            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: X | Facebook | Pinterest

            Comment

            • Nick
              Super Moderator











              • Dec 2011
              • 575

              #7
              lesliekirk please email developer support and we will point you in the right direction.
              Nicholas Adkins
              Technical Training Specialist / Miva, Inc.
              [email protected]
              https://www.miva.com/mivalearn

              Comment

              Working...
              X