Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » extende product variations problem, cannot create variations

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 2
Go to End
Author Topic: 1836 Views
  • mattconfusion
    Avatar
    Community Member
    48 Posts

    extende product variations problem, cannot create variations Link to this post

    I'm using the 0.6.1 beta of e commerce with ss 2.4. The module extendedproductvaraiations seems to work globally, but i cannot create the variations sleceted from the variations list on the Product Variation tab in the Product editor. I click on createvariations and seems to go, got the silverstripe logo but when the page is reloaded is not even on that tab, and obviously no variations are created.
    any suggestions?

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    Have you downloaded last trunk?

  • mattconfusion
    Avatar
    Community Member
    48 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    yeah, and problems seem rather odd... I create a variation Option Group, then add Vaiation options...in the varation options tab the system asks for extended product variations, which let's you add text, price and choose a product from the dropdown menu. ok, then we go to the product we need to manage, product variation tab, it asks you which option group you want for your product and then i assume that weith "Create variations" you can actually add the variation to your product. nothing happens.
    and that's not all. if we skip the create variations step, on our product we can actually see a dropdown menu with the choices we have entered, if we DO create variations, this drop down shows only the name of the product and the extende product variations we entered are disappeared from variation option tab.

    try it, because it's an useful extension but it's not working and there is no documentation about it, not even what could be the correct workflow to operate with variation (i could have done something wrong, but who knows with no docs?)

  • mattconfusion
    Avatar
    Community Member
    48 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    when doing tests with adding in some ways choices what i get as answer is:

    [User Error] Versioned::get_version: Couldn't get ProductVariation.14, version 0

    Source

    904       Versioned::set_reading_mode('');
    905
    906       $baseTable = ClassInfo::baseDataClass($class);
    907       $query = singleton($class)->buildVersionSQL("\"{$baseTable}\".\"RecordID\" = $id AND \"{$baseTable}\".\"Version\" = $version");
    908       $record = $query->execute()->record();
    909       $className = $record['ClassName'];
    910       if(!$className) {
    911          Debug::show($query->sql());
    912          Debug::show($record);
    913          user_error("Versioned::get_version: Couldn't get $class.$id, version $version", E_USER_ERROR);
    914       }
    915
    916       Versioned::set_reading_mode($oldMode);
    917       return new $className($record);
    918    }
    919

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    Which version do you use?

  • mattconfusion
    Avatar
    Community Member
    48 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    last trunk r2155 if i recall correctly. I guess I'm going to abandon the extension module and extend the usual e commerce beta

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    but into the last trunk ( not downlodaded from extensions section ) there is already extension.

  • GRiiDWeb
    Avatar
    Community Member
    60 Posts

    Re: extende product variations problem, cannot create variations Link to this post

    Hi,
    I'm getting frustrated with e-commerce product variations module to get it to perform. Has anyone mastered this module and could point me in the right direction with the PHP?
    Currently I have version 2.3.3 installed.

    E-commerce is now working after a fashion with PayPal, however it's buggy and not passing the product description to the PayPal page. Any ideas/solutions gratefully received

    1836 Views
Page: 1 2
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.