Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-12-02 17:48:50

mridley
Member
From: UK
Registered: 2012-09-26
Posts: 221
Website

Packages

I'm trying to add a Package and I am unable to select the different Items for the products I have,  I.E I have "Wrapped Canvas", "Prints" and "Digital File", regardless what I select in Backlight for "Product" the "Size" option does not change it seems to always have the sizes for the Wrapped canvas. 

For Prints, I have 7x5, 9x6, 10x8 etc, selecting Prints from the product list in Backlight packages the Size remains what I have for Wrapped Canvas??

Hope that makes sense :-)

Offline

#2 2016-12-02 18:14:09

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Packages

Hi Mark, are you running the latest version of the Cart, 4.0.2?  There were fixes for handling of packages in Cart 4.0.1, and further fixes in 4.0.2.

Offline

#3 2016-12-02 18:16:09

mridley
Member
From: UK
Registered: 2012-09-26
Posts: 221
Website

Re: Packages

Hi Ben,

yes says i'm using 4.0.2

Offline

#4 2016-12-02 19:03:16

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Packages

Hi Mark, I've found the problem.  There was a regression in the handling of Package options.  I'll apply a fix to the cart files.  In the mean time, if you'd like to apply the fix yourself, it can be done by changing line 82 in backlight/module-cart/application/views/admin/ajax_item_options.php from:

$data['products'][$product['id']] = array('id' => $product['id'], 'title' => $product['title'], 'purchaseOptions' => $purchaseOptions);

to

$data['products']['p'.$product['id']] = array('id' => $product['id'], 'title' => $product['title'], 'purchaseOptions' => $purchaseOptions);

Offline

#5 2016-12-02 19:42:45

mridley
Member
From: UK
Registered: 2012-09-26
Posts: 221
Website

Re: Packages

Hi Ben,

Thanks I've amended and now seems to be working ok..

Last edited by mridley (2016-12-02 20:16:57)

Offline

#6 2016-12-02 20:27:23

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Packages

Thanks for confirming.  I have updated 4.0.2 with this.  There's no need for you to update the module.

Offline

Board footer

Powered by FluxBB