Results 1 to 6 of 6

Editing the Add To Cart function

This is a discussion on Editing the Add To Cart function within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I'm working on a modification for a client's osCommerce site and I need to be able to change the price ...

      
  1. #1
    Lurker
    Join Date
    Jan 2004
    Location
    Denton, TX
    Posts
    3
    Rep Power
    0


    Default Editing the Add To Cart function

    I'm working on a modification for a client's osCommerce site and I need to be able to change the price of a product on the fly based on customer input. I can't use basic attributes for this, because the customer is determining the final price of the product. At no time can I display the price as defined by the store due to manufacturer's restrictions. So, what I want to do is send the customer's input to the Add To Cart function, I suppose...then change the price of the product based on that. Maybe there is a way to assign an attribute and define the price dynamically?

    Any help is appreciated.

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    How about using Linda's CALL FOR PRICE mod. This is used for may of the "manufacturer's restrictions" or min listed price or for QUOTE for price.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Jan 2004
    Location
    Denton, TX
    Posts
    3
    Rep Power
    0


    Default

    I've seen it and tried it. This guy is very specific though - that won't do for him. He wants the customer to define the price of the product and only be allowed to check out if the price is above their selling price (which remains hidden on the website at all times). I've already put in place the system for the customer to guess the price, and only allow checkout if the customer's guessed price is above the pre-defined selling price. However, when you go to checkout, the product is priced at that pre-defined price. According to his manufacturer, that constitutes an "advertisement" because it's in print online, therefore he can't do it. However, if the customer provides the price and checks out, the store never declared what the price of the product was so it skirts the restriction.

    FYI, I've posted a contribution similar to Linda's Call For Price but with more automation. My package allows you to define a Minimum Advertised Price for each product, displaying the actual selling price only if it's above the MAP. If you price your products below MAP, it provides a link to a page where the customer can send a price quote to himself for that product before checking out. This is all completely automatic without any human intervention needed, and updates the display automatically if change your prices. You can find it on the osCommerce web site under "Click For Price."
    Music supplies at discount prices!
    Check out www.lucsmusic.com!

  4. #4
    Lurker
    Join Date
    Apr 2004
    Posts
    2
    Rep Power
    0


    Default

    Where would I find Linda's CALL FOR PRICE mod. - it seems to be just what I am looking for

  5. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  6. #6
    Lurker
    Join Date
    Jan 2004
    Location
    Denton, TX
    Posts
    3
    Rep Power
    0


    Default

    If anyone needs this capability, I did manage to get it working. The change was done on a highly modded store and I don't have the time to package everything up nice into a contribution (maybe this summer...) but I'm willing to share my working files if you need.
    Music supplies at discount prices!
    Check out www.lucsmusic.com!

Similar Threads

  1. Editing but wheres>?
    By TCM in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 09-04-2006, 11:03 PM
  2. Remove "add to cart" function from images in produ
    By adam71o in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 01-26-2006, 05:48 PM
  3. Remove product from cart - cart not updating
    By mentalskylight in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-10-2005, 02:42 AM
  4. Add Item to Cart, authenticate, then deletes cart contents?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 8
    Last Post: 07-20-2004, 11:48 AM
  5. editing each Box
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-04-2004, 12:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •