Product details page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Nov 16, 2014 1:18 pm
Reply with quote
Report this post
Hello,

This is a normal product details page, where I have "quantity" and "add to cart".
http://www.streetstylefano.it/uomo/cate ... r-5-detail
-------
But if I create child products, why I have product page changed with this:
http://www.streetstylefano.it/uomo/cate ... r-4-detail
where layout is different for quantity and add to cart button, I can't find where i can delete buttons for + and - in quantity box, I need same layout of page above.

Joomla 2.5.27
VM 2.6.12.2

Anyone can help me? :)
Thanks.
L
User avatar
Fresh Boarder

GK User
Wed Nov 19, 2014 9:50 pm
Reply with quote
Report this post
Hello,

Are you sure that your custom changes doesn't caused this issue? Because I see first time when the child product has a different layout than an original product. The only solution which I can suggest is adding CSS code for hiding these buttons.
User avatar
Administrator

GK User
Thu Nov 20, 2014 9:00 am
Reply with quote
Report this post
Hello,

thank you for your reply.

I thought the same solution, but I can't find php file that operates on that page, if I change "templates-gk_instyle-html-com_virtuemart-productdetails" default.php this will affect only the first page (correct products page), and if I change defoult.php in "components-com_virtuemart-views-productdetails-tmpl" nothing happens!

Where I'm wrong?
User avatar
Fresh Boarder

GK User
Thu Nov 20, 2014 12:10 pm
Reply with quote
Report this post
The second path is connected with file which is overried in the template html directory so it won't affect your layout, because template uses the overrided one from the template html catalog.
User avatar
Administrator

GK User
Thu Nov 20, 2014 2:27 pm
Reply with quote
Report this post
Hi,

yes, I know!

But why first layuot is different from second link??

http://www.streetstylefano.it/uomo/cate ... r-5-detail
-------
http://www.streetstylefano.it/uomo/cate ... r-4-detail
User avatar
Fresh Boarder

GK User
Fri Nov 21, 2014 9:33 am
Reply with quote
Report this post
I've no idea why - I see first time this kind of situation - in my opinion you should consult this issue with VM support and ask them why you are getting different layouts - if it is possible at all in VM.
User avatar
Administrator

GK User
Sat Nov 22, 2014 12:07 pm
Reply with quote
Report this post
Thank you for your input.

I found solution editing this file : /plugins/vmcustom/stockable/stockable.php

This file override products details page if child product is active.

You can add "SOLVED" in topic.

L
User avatar
Fresh Boarder


cron