Page 4 of 15 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 1684

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    382
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Hi all

    And firstly I'm really sorry I've been so negligent of the thread... I've been swamped, but I know there's no excuse

    Thanks Matt for that excellent piece of information... I've never installed Lightbox nor considered it to be an issue so I'd never have spotted it... Good call

    Sarah, I'm sorry the mod still doesn't support sale items

    Still Crazy, great idea! I'll try to build that in

    Pinwest, can you provide a URL for me to have a look at? You can PM it to me if you prefer

    Thanks to all for your support... Over the next few days (honest this time) I'm going to start a redesign, hopefully with the help of Snorkpants

    Dan

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Dynamic Price Updater

    Hi Dan,

    Does this work with 1.3.8? I have the file uploaded and when I change the attribute I get something like this:
    Your price: undefined30.00undefined (1)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Dynamic Price Updater

    BTW, here goes the debug:

    Code:
    SP Onload: Type: always
    updSP: Price node cloned!
    updSP: Node inserted successfully
    updSP: Duplicating price, by jove!
    Onload quantity: Cart add INPUT discovered (1)
    Onload base price: Price found: 95
    Onload SELECT: Name - id[14] : ID - attrib-14
    Onload SELECT: Name - id[15] : ID - attrib-15
    Onload SELECT: Name - id[20] : ID - attrib-20
    Onload SELECT: Name - id[12] : ID - attrib-12
    Onload SELECT: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    Onload RAD/CH: Name - id[10] : ID - attrib-10
    updatePrice: SELECT ID attrib-15 is now NULL
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updatePriceNow: Item: undefined - 
    updSP: Duplicating price, by jove!
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    382
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Hi Yellow

    I haven't had a chance yet to even find a place on the server for 1.3.8 lol

    Can you post a link to the site where the Updater is? I know I always ask for this, but it can be much easier to observe the behaviour in situ

    Cheers

    Dan

  5. #5
    Join Date
    Mar 2007
    Posts
    73
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Chrome View Post
    Currently it only works with attributes that are SELECTs... If it works for people I will update it to handle the radio boxes and checkboxes
    I think radio boxes work?

    The debug script was a surprise. I'll leave it on for now.

    if "Product Priced by Attributes:" = true
    {
    it counts shipping twice; Shipping was already calculated by Zencart because its radiobox was already the
    "*Display price will include lowest group attributes prices plus price"
    http://quebecinter.net/regaliax/inde...&products_id=3
    }else{
    it displays a total of attributes and ignores the Zencart calculated price
    http://quebecinter.net/regaliax/inde...products_id=11
    }

    I have no shipping module installed, in fact. I'm being obstinate about doing this, until I get a coder to make me one.
    Last edited by jtjohnston; 3 Feb 2008 at 05:40 AM.

  6. #6
    Join Date
    Feb 2009
    Posts
    157
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Question on updater:

    I am looking for a utility or MySQL code that will set all prices for all products to a set percentage above wholesale price. Also looking for a way to record wholesale prices in the databse along with a user defined formatted catalog ID number.

  7. #7
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Dynamic Price Updater

    Quote Originally Posted by dmm2020 View Post
    Question on updater:

    I am looking for a utility or MySQL code that will set all prices for all products to a set percentage above wholesale price. Also looking for a way to record wholesale prices in the databse along with a user defined formatted catalog ID number.
    This is the wrong thread for your question. The dynamic price updater is for the product info display page to dynamically change the displayed price based on product attributes that are chosen by the user.

    I think you can put a couple of the free mods together for what you want, Easy Populate is one and I think there might be one to add the wholesale cost to your product creation page in the admin(it's a profit calculator but it does add a field in the product creation page for your cost). You use a spreadsheet for EP and can easily multiply a column (the wholesale price(you will have to add this manually - see my post here:http://www.zen-cart.com/forum/showthread.php?t=116061)) by whatever percentage you want to derive the product's price.

    As far as the user defined catalog ID number, wouldn't you just use the model number field in the product creation page?

    I suggest starting a new thread for your questions to get more in depth answers.

    Zen Cart and it's community are the best!!

  8. #8
    Join Date
    Sep 2005
    Posts
    20
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    at WriteAtHome

    You have two things to change:

    1: Attribute 6'' set the price to +0.0001 or use a dropdown

    2: for="attrib-29-109">Same as Color 1<br> (+$0.00) - the problem is the <br> tag. Dynamic Price Updater can't read the price (+$0.00)

    The code for Radiobuttons and Checkboxes read out the html-text until the next html-tag (nextSibling):
    prArr[objInp.name]['n'] = objInp.nextSibling.innerHTML.replace(seeker, '');

    web28

  9. #9

    Default Re: Dynamic Price Updater

    Quote Originally Posted by web28 View Post
    at WriteAtHome

    You have two things to change:

    1: Attribute 6'' set the price to +0.0001 or use a dropdown

    2: for="attrib-29-109">Same as Color 1<br> (+$0.00) - the problem is the <br> tag. Dynamic Price Updater can't read the price (+$0.00)

    The code for Radiobuttons and Checkboxes read out the html-text until the next html-tag (nextSibling):
    prArr[objInp.name]['n'] = objInp.nextSibling.innerHTML.replace(seeker, '');

    web28
    Hi Web28, lankeeyankee, and everyone using the Dynamic Price Updater,

    After many wonderful suggestions by WEb 28 and lankeeyankee I've perfected the price updater on my test website. You can view it here: http://welcomingwalls.com/index.php?...roducts_id=181

    It's not exactly what I wanted the page to look, but having the updater work properly far outweighs the small details I had to forego. To help anyone else out there trying to make the updater work on their site, I'm going to give a rundown of everything I had to tweak to make it work for me. Maybe some of these suggestions will work for you as well.

    1. I had too many custom tweaks to begin with that interfered with the updater, so my first suggestion would be to start with fresh and "untampered with" product_info pages. Once you get the updater working properly then you can make custom changes and test to make sure it doesn't mess with the updater. Web28 mentioned that you have to keep the "Starting at:" text or at least the ":" to make this work. This was one of the tweaks I had made that messed with the updater working for me.

    2. My website uses radio buttons rather than dropdown menus because I needed to add images to my options. BUT, only some of the radio "Attribute Style for Radio Buttons/Checkbox" work:

    Image Styles:
    0= Images Below Option Names
    1= Element, Image and Option Value
    2= Element, Image and Option Name Below
    3= Option Name Below Element and Image
    4= Element Below Image and Option Name
    5= Element Above Image and Option Name

    Test them out for yourself, but for me the only one that worked was #3. I think this had something to do with Web28's suggestion in Post #272 about the (+3.00) being on a certain line.

    3. My actual product I set a price of $0.00 because the pricing was based on the size chosen in the first attribute. The first attribute flags were all set to "no", except the discounted setting which is could be either way, and the first attribute is set as the default. As lankeeyankee stated in Post #264, the first attribute doesn't need the "+" in the pricing to work. Because I am using it as my base pricing I left the "+" out and it works fine.

    4. The second attribute is color #1. I don't charge anything for the first color because it's part of the original price. So, I was able to take out the "+" and the pricing all together. Each of these attributes work independently from one another, so it didn't have any negative effect on the other attributes to leave the pricing out. All the attribute flags were set to "no", except discount and base price. These could go either way because their is no pricing involved.

    5. For the third attribute, Color 2, this was the kicker. My first option value is "Same as Color 1", which means their is not an additional price because they didn't want a second color. The other option values added $3.00 for the second color of their choice. The options that added $3.00 worked fine, but if I then again chose "Same as Color 1" it wouldn't subtract the $3.00 back off. The only thing different between it and the other options was the price difference and the fact it didn't have an image. So, I added an image . . . and it worked perfectly. I don't know why it also has to have an image for the updater to work, but I suspect it has to do with Web28's suggestion in Post #272. For this attribute, the flags were all set to "no", except the discounted could go either way and the "Same as Color 1" is set as the default.

    Anyway, I'd like to thank everyone who posted here, because I read all 27 pages trying to find the answers to my problems. I hope that maybe the settings I've posted here might help someone else who is having trouble.

    Kim

  10. #10
    Join Date
    Sep 2005
    Posts
    20
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    at WriteAtHome

    Only some of the radio "Attribute Style for Radio Buttons/Checkbox" work:

    Image Styles:
    0= Images Below Option Names
    1= Element, Image and Option Value
    2= Element, Image and Option Name Below
    3= Option Name Below Element and Image
    4= Element Below Image and Option Name
    5= Element Above Image and Option Name
    I fixed this for Image Styles 0,1,2,3,5, only 4 is too difficult, because the <Label>Tag isn't after the <Input>Tag and the Dynamic Price Updater is looking for the <Label>tag after the <Input>Tag.

    Please try the modified version. I tested it with ZenCart 1.3.8 and it works fine.

    web28
    Attached Files Attached Files

 

 
Page 4 of 15 FirstFirst ... 2345614 ... LastLast

Similar Threads

  1. v151 Help with dynamic price updater
    By anderson6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jul 2014, 08:52 AM
  2. v139h Dynamic Price Updater 3.0 Help!
    By Newbie 2011 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Mar 2014, 06:46 AM
  3. Dynamic Price Updater Error
    By Inxie in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Oct 2012, 06:19 PM
  4. Alternative to Dynamic Price Updater?
    By thebigkick in forum General Questions
    Replies: 0
    Last Post: 9 Jul 2012, 11:41 PM
  5. Dynamic Price Updater with href
    By maxell6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Mar 2012, 12:34 AM

Posting Permissions

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