VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Geppux on January 21, 2016, 13:42:14 PM

Title: [SOLVED] Selecting child product page name don't change
Post by: Geppux on January 21, 2016, 13:42:14 PM
VM 3.0.12 - J 3.4.8

Hi, if I select, in a parent product, one of its child the page changes to the child page but the name of the page remains the same of the parent and also the route in the breadcrumbs don't change, they change only if I click F5 to refresh. you can check here: http://mulligan.it/it/attrezzatura-da-golf/legni/callaway-xr16-driver-10-5-lady-detail.html
More over, if the child is in a dummy category that I create for different price needing, when I click F5 to refresh, the child product route has the dummy category, even if it's unpublished in the configuration. You can see this here: http://mulligan.it/it/attrezzatura-da-golf/putter/odyssey-works-detail.html just choose "Odyssey Works Tank Cruiser" as model and click F5...

Is this a bug?

Thank you.
Giuseppe
Title: Re: Selecting child product page name don't change
Post by: Spiros Petrakis on January 21, 2016, 18:48:38 PM
Hi,

the solution is here http://forum.virtuemart.net/index.php?topic=132652 for the title issue and it is already added in the core code for the next version.

The breadcrumb can not be dynamically updated by the ajax product update.

Title: Re: Selecting child product page name don't change
Post by: Geppux on January 21, 2016, 22:19:31 PM
Thank you Spyros, now I'll try the solution you linked but I don't understand how it's possible that are displayed unpublished categories in breadcrumbs... if they are unpublished are unpublished!!! :o
Title: Re: Selecting child product page name don't change
Post by: Spiros Petrakis on January 22, 2016, 10:30:51 AM
Hi i have no idea about the unpublished categories issue but i think i have seen similar posts about this issue , i dont remember if there is a solution for this maybe do a search in the forum about it.
Title: Re: Selecting child product page name don't change
Post by: Geppux on January 22, 2016, 12:10:39 PM
Ok, thank you.
Title: Re: Selecting child product page name don't change
Post by: Geppux on January 22, 2016, 12:34:11 PM
I added in components/com_virtuemart/assets/js/dynupdate.js this code after line 32:
var title = $(data).filter('title').text();
$('title').text(title);

and it works great...
Thank you.
Giuseppe