Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: no price but still shows add to cart

no price but still shows add to cart 11 years 1 month ago #2763

hi, in the products of a particular category i have not imputed any price at all but still, it appears the add to cart.

Attachment 22.png not found



by clicking though on the "quick look" and opening the product page, the add to cart button disappears, as normal.

Attachment 33.png not found



any idea?
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2768

Hi Giannis,

Can you tell us your setting for VMadmin->Configuration->Pricing please?

On our test server we have "Show call for price, when the price is empty" checked and this shows as per

Puremart Test Server

Watch Hugo Boss Test9

Regards,

Admin
Attachments:
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2800

hi, the configure is as said

Attachment 44.png not found



but still the same.
any idea?
also, how can i set up the products and the categories to be displayed in such a way as [url=http://http://test.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=virtuemart&Itemid=435][/url] with three categorieas and 3 products in a row?
i do not have any grid view option
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2803

Hi,

2nd question first - the settings for the homepage you asked for are in the attachment
If you haven't set or set differently in the category view you will have to set them as well

Products->Product Categories->category->details->Default Number of Products per Row etc

1st question - what do the buttons say in your screenshots? I don't speak Greek... :( - are they call buttons or add to cart etc..?

Please be more clear in exactly what you want to happen..

Cheers,

Admin
Attachments:
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2813

Hi giannis,
also, how can i set up the products and the categories to be displayed in such a way as [url=http://http://test.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=virtuemart&Itemid=435][/url] with three categorieas and 3 products in a row?
i do not have any grid view option

Yes you do,
To have "Grid" view layout in category browse page, then through
"VM Backend > Configuration > Template"
select "default", "defaultmulti", "flexv2" or "flexv2multi"
Those 4 category layouts have GridVIew layout as default while "defaultlist" and "flexv2list" have ListView layout by default. (by the way, check the product categories one-by one and make sure they don't have any "override" value for category browse page layout, for this purpose, look at the TUTORIAL.pdf [www.flexiblewebdesign.com/puremart/TUTORIAL.pdf] and see the 8th page. It has been explained there)

For the VM Frontpage layout, in order to have 3 categories per row;
VM Backend > Configuration > Templates
And look at the right section in there, and make sure you have the same settings:

Attachment ScreenShot2013-03-04at9.04.20AM.png not found



Regards,
Forum Support.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2887

they are call for price as explained by the arrow
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2890

1. regarding the grid view, ok i get it and it works but in the first line 3 products, second line 2 products,third line 3 products.
there is no symmetry

Attachment 33_2013-03-06.png not found



2. regarding the other issue with the add to cart but with no price...

Attachment 44_2013-03-06.png not found



but on the details page the add to cart dissappears and shows as normal only the call for price

Attachment 55.png not found

The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2901

With problem 1. without a url hard to tell you (please - if you ask for help make our job a bit easier with urls, where we can find products etc etc etc - it is all in Greek - we can't read it..)

But as they are floated divs after each row is a

<div class="clear"></div>

have you css to enforce this clear?

e.g.
.clear {
  clear: both;
}

if not put it in your css somewhere

2. in the cart is correct - there should be no add to cart button on a product without a price..

checking why the add to cart button is appearing in the cat view - but please - some urls -
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2909

sorry for the urls, i had mentioned them earlier. as for the greek, that's why i have prtsc pics with arrows explaining

www.miracoli.com.gr/index.php?option=com_virtuemart&view=category&virtuemart_category_id=8&Itemid=132
where "Στο Καλάθι" means "add to cart" and "Λεπτομέρειες Προϊόντος " means "product info"

as for the .clear {
clear: both;
}
in which file please?
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2918

Re the grid layout - you should really make a small effort on your part to try and find out relatively simple layout problems -
the unordered layout is all to do with your template - not our extension.

If you look at the sceen shots you will see you have div widths of 33.33% + a 10px margin - which will add up to more than 100% so of course it doesn't fit and wraps...

remove the 10px margin and they line up - all css is in your templates - there is Firebug tutorial - made at great effort by the boss - its a tutorial to show you how to find out these things...

Now the buttons -

if you look in file - templates/YOUR_TEMPLATE/html/com_virtuemart/category/flexv2list.php from line 366 you will see the logic for the button display.
<?php if (!(number_format($product->prices['salesPrice'], 0, ',', '.')) and VmConfig::get('askprice', 1))  { //price is or not check-START
                    $url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id='.$product->virtuemart_product_id.'&virtuemart_category_id='.$product->virtuemart_category_id.'&tmpl=component');
                     ?>
                     <a class="FlexibleAskforPrice" style="float:right;" rel="facebox" rev="iframe|600|900" href="<?php echo $url ?>"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ASKPRICE') ?></a>
                    <?php } //price is or not check-END ?>
 

I just tested removing the price from an article "Fossil 16 - see attachment 3) on our test server and the button changed to "Call for Price" so the functionality is there..

It has a stock level and "Show call for price, when the price is empty" is checked in config...

I can't think of any other factors that would effect it - have you experimented with the settings?

are you sure your prices are empty?
(!(number_format($product->prices['salesPrice'], 0, ',', '.'))

Cheers
Attachments:
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2922

Showing the "Call for Price" button conversion after VM2.0.16 has gone in Virtuemart.
Doesn't matter if left the price field empty, Virtuemart refuses to show the "call for price" button in the original Virtuemart layout, but shows the "add to cart" button instead, which is a bug.

So in order retrieve back the "call for price" button functionality with PureMArt, we implement an extra line of check if the price field is empty or not:
!(number_format($product->prices['salesPrice'], 0, ',', '.')

Are you sure you have the latest version of PureMArt? (v3.4) if not, please download the latest version.
I have also noticed some CSS issues in your website which breaks the layout. So instead of confusing you here with giving you codes and lines to change;

Please provide me your joomla admin account to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me fix those issues.
(while emailing to This email address is being protected from spambots. You need JavaScript enabled to view it., don't forget to include this forum post's URL at the top of your message to avoid any possible confusion in our end)

I will fix what ever i see that doesn't look okay in category page.

Regards.
Forum Support.
Last Edit: 11 years 1 month ago by Support.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2942

hi, thanks for the reply.
in my code the (!(number_format($product->prices, 0, ',', '.'))
was (!(number_format($product->prices, 1, ',', '.'))
so i changed it.
Now the call for price appears but the add to cart still remains
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2955

Wait a second.

If it was !(number_format($product->prices, 1, ',', '.') then probably you have asked about it, and i have told you to make it 1 instead of 0

Can you provide me a URL where i can see it. I am little confused now.

Regards.
Forum Support.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2957

Attachment 11_2013-03-07.png not found


i had never touched that code before,it was by default.

www.miracoli.com.gr/index.php?option=com_virtuemart&view=category&virtuemart_category_id=8&Itemid=132

and there is no price for these products, also in the backend it is checked to show "call us ets." if no price entered

with the change of 1 to 0 , the "call for price " appeared but the "add to cart" didn't dissapear.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2961

Hi,

The Support boss is on US Pacific time - he will get back to you

Cheers
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2966

ok, i'll be waiting, thanks
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2968

I'm running into the exact same problem.
http://108.167.174.108/~elitevac/index.php/products/fans-and-heaters/am01-10-air-multiplier-detail

Vmart version: 2.0.18a
Fashionmart template

It's definitely something to either do with a version conflict with Virtuemart and the template. You can see that the native Virtuemart product details file works perfectly as shown here:
http://108.167.174.108/~elitevac/index.php/uprights/sanitaire-sc888-detail
Same site same settings just different product details page.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #2980

Ah - excellent - an english language site!!
Should be a bit easier now to track down the problem.

The "God" Admin should be back soon to sort this.. ;) (US Pacific time)

Please be patient,

Cheers,

John Admin
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3023

Hi Justin.

this issue with the FashionMArt has been fixed already. But i am seeing in your order details, you are not eligible to receive free updates, but this problem should be fixed in your website.

So; please provide me your joomla admin account to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me fix that issue.
(while emailing to This email address is being protected from spambots. You need JavaScript enabled to view it., don't forget to include this forum post's URL at the top of your message to avoid any possible confusion in our end)

Regards.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3079

Email sent. Thank you.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3081

hi again, any idea about my issue?
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3093

The Boss has answered 2 posts above - he is dealing with it - if you sent your details?

Cheers
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3110

I have seen nothing from anyone and yes I did send details.
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3111

Ok - he will deal with it when he comes on line..

(US Pacific time)

Thanks for your patience...
The topic has been locked.

no price but still shows add to cart 11 years 1 month ago #3133

This issue has been solved through emailing.

Case solved. Topic is closed.

Regards,
Forum Support.
The topic has been locked.
Time to create page: 0.145 seconds

MaterialMart

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