Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart 1.1.x Theme - FlexibleMart (SKU# FLEX-00006)

TOPIC: Get retail price to show for shopper not logged in

Get retail price to show for shopper not logged in 8 years 11 months ago #1820

I have followed the instructions on how to get the retail price to cross out when something is on sale. If I am logged in as a customer than the price shows fine

Attachment loggedinshowingpricing.PNG not found

If I am not logged in it does not show the retail

Attachment notloggedinpricingnoretailprice.PNG not found

I have created 2 tax rules (6% inside Michigan and 0% for the other states) and made sure both the default and anonymous groups are added.

Attachment createdtaxforeveryone.PNG not found

As long as I am logged in (does not matter if it's Michigan or Ohio) the retail price shows. I am not than it does not show.

I have attached the back end show price config as well.

Attachment showpricingsettings.PNG not found

I even tried going into the shopper groups and over riding the show prices in there with no luck

I'm sure it is something simple I am missing somewhere.

Last Edit: 8 years 11 months ago by KDZ Inc. Reason: Sorry this should be in the virtualmart 2 theme could you please move
The administrator has disabled public write access.

Get retail price to show for shopper not logged in 8 years 11 months ago #1825


(first of all you have created the topic in wrong place, i am seeing you have purchased PureMart, but that's okay)

Are you sure you didn't change any PHP line from any PHP file in our VM Template or accidentally delete some lines somehow.? Because it should have worked just fine.

You can try it in our DEMO, www.flexiblewebdesign.com/virtuemart-2-template-puremart

In our DEMO: the prices get line-through if there is a discount and there is no TAX for anonymous users. But if you add some product, go shopping cart and login with username:DEMO password:DEMO the TAX rule will applied all products (we did the same thing in our DEMO, TAX (9.25%) are applied to product, if the user is located in California).

If you notice this in our DEMO, the discounted prices get line-through no matter the user logged in or not, and no matter the TAX is applied or not.

I am sure it has to do with the VM configuration. As far as i can see from the screenshots you are providing, i don't see anything wrong. It is pretty same in our DEMO as well.

One thing, in one of the screenshot, you can leave the "shopper Groups" completely empty. Which means, you are not filtering it, so that rule will be valid for ALL users.

Maybe in one of the other sections, you have just chose "default" but forgot the "anonymous" so it is hiding the price which was supposed to be "line-through".

I really don't know where it might be. I did run lots of test in my local machine and couldn't find an option that hides the price when "not logged in" but shows again when "logged in". And i agree with you, it must be a very simple thing that we are both missing.

Keep this in mind that, the prices that get line-through are called:

PricepriceWithoutTax = when there is no TAX at all
PricebasePriceWithTax = when there is TAX

In your case, you are saying the crossed prices are hidden when not logged in, and you have TAX rule for specific locations. And crossed price (retail price) are hidden only when "not logged in" Which means, the "PricepriceWithoutTax" is hidden. But this brings dilemma, because you also said, if the user is logged (no matter what the shipping address is) the crossed prices are shown. But the prices are called PricepriceWithoutTax or PricebasePriceWithTax no matter if the user is logged in or not. All depends on if there is TAX or NOT. This is the part that i am confused. Normally, if the crossed price don't get shown, it should have depended TAX not the login status. Understand what i am saying?

Just play around with the configuration. I am sure one thing will fix this problem (if you haven't modified the PHP file that come with our VM Template)

And if you have done some customization or modification on any PHP file that comes with our VM Template, please also try to use the original files.

Last Edit: 8 years 11 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.059 seconds


for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo