WordPress.org

Ready to get started?Download WordPress

Forums

eShop: Changing Prices (8 posts)

  1. Sognster
    Member
    Posted 4 years ago #

    I have updated the prices for our product on the individual product pages, and the calculations are correct when going to the shopping cart. However, on the shop page itself, I changed the initial price so it appears correct at first but as soon as the quantity or size drops downs are changed, the price switches back to the old price (but the correct price is still carried over to the shopping cart). It appears to be linked to the updateprice() function but I don't know why or how, and more importantly, how to fix it.

    Any advice is much appreciated. Thanks so much!!

    http://wordpress.org/extend/plugins/eshop/

  2. elfin
    Moderator
    Posted 4 years ago #

    try closing your browser after you made the change to the price - it is probably a session issue - keeping the old price.

  3. Sognster
    Member
    Posted 4 years ago #

    Thanks for getting back to me! No, that didn't make a difference and, to be sure, I rebooted and checked from other computers.

    I do wonder if it's some sort of caching issue in that it remembers the old price even though the product pages only have the new price. I inherited this website so I don't know how it was set up and I'm new to WordPress but is there anywhere else in eshop, other than on the product pages, where price is inputted that it could be drawing from?

    When I updated the Shop page to show the new initial value, I get an message saying that "Exec-PHP WYSIWYG Conversion Warning. Saving this article will render all contained PHP code permanently unuseful..." Could this have anything to do with it?

    Thanks for any advice you might have!

  4. elfin
    Moderator
    Posted 4 years ago #

    in that case disable all other plugins and try again. eShop and cache plugins especially may not play nicely together.

  5. Sognster
    Member
    Posted 4 years ago #

    Hi,
    Thanks again for getting back to me. I tried disabling all plug-ins, checked and no luck, reactivated and still no luck. Is there anywhere else eShop could be "pulling" the price from? I changed it on the product pages themselves and can't find anywhere else where any prices are listed, but I'm also new to this and not entirely sure I have full rights to the site.

    Any advice would be greatly appreciated. Thanks so much!

  6. elfin
    Moderator
    Posted 4 years ago #

    just reread things:
    appears to be linked to the updateprice() function

    eShop doesn't have an updateprice function!

  7. Sognster
    Member
    Posted 4 years ago #

    I'm not sure if I worded it correctly but on our shop page, when someone changes the value in the drop down list for either the size or quantity, the following is the code that is run (this is for the size dropdown):

    <font style="font-size: 20px; color: #888">Size</font> 
    <select name="option" style="width: 120px" id="shop_size" onchange="updatePrice();">
    <option value="Option 5">Extra Large</option>
    <option value="Option 4">Large</option>
    <option selected="selected" value="Option 3" />Medium</option>
    <option value="Option 2">Small</option>
    <option value="Option 1">Youth</option>
    </select>

    So, I'm assuming that its the "updateprice" that's making the change. Are you saying that this isn't part of eshop? Like I said, I'm trying to figure this all out, I'm used to working solely in Dreamweaver where I can see all of the files so WP is confusing to me. I've spent a week on this simple act of trying to change the price so any words of advice, files to look at, or recommendations for resources are much appreciated.

    Thanks!

  8. elfin
    Moderator
    Posted 4 years ago #

    as I said before

    eShop doesn't have an updateprice function!

    So as far as I am concerned this is not an eShop issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags