Jump to:

2081 Posts in 1001 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Product Item Translation

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 666 Views
  • Kirkian
    Avatar
    Community Member
    1 Post

    Product Item Translation Link to this post

    Hello,

    I've two language website English and French... I'm using E-commence module + brand browsing.
    SilverStripe v2.4.6 + E-commerce module v0.8.1
    Page and Product Group translations are working properly but when I translate a product item I get the following error:

    [User Error] Uncaught Exception: Object->__call(): the method 'variations_original' does not exist on 'Product'
    GET /SilverStripe-v2.4.6/admin/show/14/?locale=fr_FR

    Line 724 in D:\server\www\SilverStripe-v2.4.6\sapphire\core\Object.php

    Source

    715             
    716             default :
    717                throw new Exception (
    718                   "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
    719                );
    720          }
    721       } else {
    722          // Please do not change the exception code number below.
    723          
    724          throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'", 2175);
    725       }
    726    }
    727    
    728    // -----------------------------------------------------------------------------------------------------------------
    729    
    730    /**
    Trace

    Object->__call(Variations_original,Array)
    Line 117 of HasManyComplexTableField.php
    Product->Variations_original()
    Line 117 of HasManyComplexTableField.php
    HasManyComplexTableField->selectedItemIDs()
    Line 126 of HasManyComplexTableField.php
    HasManyComplexTableField->ExtraData()
    Line 369 of ViewableData.php
    ViewableData->obj(ExtraData,,,1)
    Line 446 of ViewableData.php
    ViewableData->XML_val(ExtraData,,1)
    Line 763 of .cache.sapphire.templates.RelationComplexTableField.ss
    include(C:\Windows\Temp\silverstripe-cacheD--server-www-SilverStripe-v2.4.6\.cache.sapphire.templates.RelationComplexTableField.ss)
    Line 429 of SSViewer.php
    SSViewer->process(HasManyComplexTableField)
    Line 342 of ViewableData.php
    ViewableData->renderWith(RelationComplexTableField)
    Line 275 of ComplexTableField.php
    ComplexTableField->FieldHolder()
    Line 64 of HasManyComplexTableField.php
    HasManyComplexTableField->FieldHolder()
    Line 93 of CompositeField.php
    CompositeField->FieldHolder()
    Line 369 of ViewableData.php
    ViewableData->obj(FieldHolder,,,1)
    Line 446 of ViewableData.php
    ViewableData->XML_val(FieldHolder,,1)
    Line 73 of .cache.sapphire.templates.TabSetFieldHolder.ss
    include(C:\Windows\Temp\silverstripe-cacheD--server-www-SilverStripe-v2.4.6\.cache.sapphire.templates.TabSetFieldHolder.ss)
    Line 429 of SSViewer.php
    SSViewer->process(TabSet)
    Line 342 of ViewableData.php
    ViewableData->renderWith(TabSetFieldHolder)
    Line 80 of TabSet.php
    TabSet->FieldHolder()
    Line 369 of ViewableData.php
    ViewableData->obj(FieldHolder,,,1)
    Line 446 of ViewableData.php
    ViewableData->XML_val(FieldHolder,,1)
    Line 58 of .cache.sapphire.templates.TabSetFieldHolder.ss
    include(C:\Windows\Temp\silverstripe-cacheD--server-www-SilverStripe-v2.4.6\.cache.sapphire.templates.TabSetFieldHolder.ss)
    Line 429 of SSViewer.php
    SSViewer->process(TabSet)
    Line 342 of ViewableData.php
    ViewableData->renderWith(TabSetFieldHolder)
    Line 80 of TabSet.php
    TabSet->FieldHolder()
    Line 369 of ViewableData.php
    ViewableData->obj(FieldHolder,,,1)
    Line 446 of ViewableData.php
    ViewableData->XML_val(FieldHolder,,1)
    Line 77 of .cache.sapphire.templates.Includes.Form.ss
    include(C:\Windows\Temp\silverstripe-cacheD--server-www-SilverStripe-v2.4.6\.cache.sapphire.templates.Includes.Form.ss)
    Line 429 of SSViewer.php
    SSViewer->process(Form)
    Line 342 of ViewableData.php
    ViewableData->renderWith(Array)
    Line 1108 of Form.php
    Form->forTemplate()
    Line 447 of ViewableData.php
    ViewableData->XML_val(EditForm,,1)
    Line 13 of .cache.cms.templates.Includes.CMSMain_right.ss
    include(C:\Windows\Temp\silverstripe-cacheD--server-www-SilverStripe-v2.4.6\.cache.cms.templates.Includes.CMSMain_right.ss)
    Line 429 of SSViewer.php
    SSViewer->process(ViewableData_Customised)
    Line 342 of ViewableData.php
    ViewableData->renderWith(Array)
    Line 492 of LeftAndMain.php
    LeftAndMain->Right()
    Line 369 of ViewableData.php
    ViewableData->obj(Right,,,1,)
    Line 823 of ViewableData.php
    ViewableData_Customised->obj(Right,,,1)
    Line 446 of ViewableData.php
    ViewableData->XML_val(Right,,1)
    Line 71 of .cache.cms.templates.LeftAndMain.ss
    include(C:\Windows\Temp\silverstripe-cacheD--server-www-SilverStripe-v2.4.6\.cache.cms.templates.LeftAndMain.ss)
    Line 429 of SSViewer.php
    SSViewer->process(ViewableData_Customised)
    Line 197 of Controller.php
    Controller->handleAction(SS_HTTPRequest)
    Line 143 of RequestHandler.php
    RequestHandler->handleRequest(SS_HTTPRequest)
    Line 147 of Controller.php
    Controller->handleRequest(SS_HTTPRequest)
    Line 282 of Director.php
    Director::handleRequest(SS_HTTPRequest,Session)
    Line 125 of Director.php
    Director::direct(/admin/show/14/)
    Line 127 of main.php

    I've pasted the above in sspaste.com:
    http://www.sspaste.com/paste/show/4f12ebad5f70e

    Do you face such a problem with E-commerce module?

    Many thanks in advance.

    666 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.