• Resolved BeachsidePaul

    (@beachsidepaul)


    Actually the WordPress version is 3.03 but that was not an option.

    Just installed Image Store and I am trying to offer a 100% discount for my model’s download files. I cannot seem to get the 100% Promo code to work at all. 99% works okay but leaves a sloppy few cents.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter BeachsidePaul

    (@beachsidepaul)

    Solved the problem I think, I changed line 832 from:
    $this->cart[discounted]=$this->cart[total]-$this->cart[promo][discount]
    to:
    $this->cart[total]=$this->cart[discounted]=$this->cart[total]-$this->cart[promo][discount]

    and commented out line 835.

    All line numbers are from version 1.2.4 of the plug-in.

    Thanks, Paul

    Thread Starter BeachsidePaul

    (@beachsidepaul)

    Sorry, forgot to mention that the file I changed above was store.php in the plug-in’s include directory.

    Paul

    Thread Starter BeachsidePaul

    (@beachsidepaul)

    More changes needed: further down at about line 927 in store.php the same changes as above need to be made.

    Also, need to change shoppingcart.php to always display the discount amount, even if the $this->cart[discounted] field is 0.00. This will display a 0.00 discount if no discount is applied, which is fine for my use.

    Paul

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Image Store] Percent discount not working’ is closed to new replies.