ArtPal Plugin strike through on 4 digit value
-
I hope this is the correct place for this post. Sorry if it is not but I feel this is a plugin coding quesiton!
I am using the ArtPal plugin by Robby Grossman, seems he is unable to resolve my issue at the moment so I was wondering if someone who understands php code could find a code fix for me! (please!!!)
The ArtPal plugin seems to be working fine in general. But there is one (cosmetic) problem with the way the dollar figure (price) is displayed when you enter a value greater than three digits.
For example $999 is displayed fine ($999.00), but if the artwork is $1000 (4 digits) then it is displayed first with this value having a “strikethrough” and then again with the dollar value without the strike through plus the two decimal places i.e. $1000.00. We don’t want the Strikethrough displayed as there is not sale.
What I’m getting is kind of what you would expect if there was a sale happening and the original value has a slash through it followed by the actual price of the item. But in my case there is no sale and that feature is definitely displayed with a zero.
Some additional information.
I have store wide sale value 0%I’ve tried store wide sale as blank or “-” and still get the same cosmetic problem.
I am not adding a shipping value, just a line of text that states “shipping will be charged later”, I figured this shouldn’t affect things but maybe it does! I’ve tested it with a value and the price problem still exists.
I am using Australian Dollars
I’ve tried it with just the “for sale” category ticked, plus with a second category (i.e. one that depicts the artwork category)and there is no difference with either.
When you click the paypal button it enters the correct value on the billing page, so like I’ve stated this seems to be a cosmetic issue. It makes the way the $1000 plus prices are displayed look unprofessional when there is no sale.
I am following all the remaining guidelines provided by Robby on his ArtPal page.
From all the playing around that I’ve done with the ArtPal plugin it looks to me like something is not working right with the “store wide sale” code. It seems to be applying a zero percent deduction to the 4 digit values (not anything LESS) and displaying them like there is a sale.
Out of interest there is the same issue with 5 and 6 digit dollar values, not that we will likely be using those.
If anyone could provide a solution to the code I’d be most appreciative.
Thank
The topic ‘ArtPal Plugin strike through on 4 digit value’ is closed to new replies.