View Issue Details

IDProjectCategoryView StatusLast Update
0003708OXID eShop (all versions)2.3. Extensions (modules, themes)public2012-12-10 13:33
Reportersaulius.stasiukaitis 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version4.6.0_beta3 
Summary0003708: Not valid link to article from articles list if article has variants and parent is available for purchase.
DescriptionIf parameter blVariantParentBuyable is set format additional option in variants list in article in articles list. After press on button more info page with error show up:
Error
The requested page 'dc581d8a115035cbfb0223c9c736f513/' could not be found.
TagsNo tags attached.
ThemeBasic
BrowserAll
PHP Versionany
Database Versionany

Activities

saulius.stasiukaitis

2012-03-13 09:11

reporter   ~0005960

JavaScript links to wrong page as option value was article id not link.
Fixed in product.tpl
From line:
              <option value="[{$product->getId()}]">[{ $product->oxarticles__oxvarselect->value }] [{oxhasrights ident="SHOWARTICLEPRICE"}] [{ $product->getFPrice() }] [{ $currency->sign|strip_tags}]* [{/oxhasrights}]</option>
To line:
              <option value="[{$product->getLink()}]">[{ $product->oxarticles__oxvarselect->value }] [{oxhasrights ident="SHOWARTICLEPRICE"}] [{ $product->getFPrice() }] [{ $currency->sign|strip_tags}]* [{/oxhasrights}]</option>