1
Quest
Attributes in Oledrion
  • 2009/10/14 10:06

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I am unable to get the attributes to work. They do not show up with product to check. But if I click to add to cart I get message "You did not fill out xxxxx field.

2
Quest
Re: Attributes in Oledrion
  • 2009/10/17 11:26

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Bump

3
Burning
Re: Attributes in Oledrion
  • 2009/11/5 13:12

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

In changelog.txt you can read :
Quote:
For this moment, persistent card does not save products attributes


... have you checked this option in modules Preferences ?

4
Burning
Re: Attributes in Oledrion
  • 2009/11/10 8:37

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Tested with :
• XOOPS 2.4
• Default theme
• Oledrion 2.31
• PHP 5.3.0
• No persistent cart

... it seems that attributs don't work

What I can do :
• attributs creation
• modify attributs layout (checkboxes, list, ...) displayed on product page

But :
• in all cases : no attributs is sent to caddy (it is always default value, no change even I check / select another attributs)
• with checkboxes : it is possible to uncheck all attributs, but in this case, no price is displayed on product page (even if I choose to make attributs choice required in back office)

Xoops debug mode is not very easy to read (more than 130 Errors, a lot from xoopseditors). About oledrion module, I see on every pages :

Quote:
Unknown: Assigning the return value of new by reference is deprecated in file /modules/oledrion/class/PEAR.php line 569
Unknown: Assigning the return value of new by reference is deprecated in file /modules/oledrion/class/PEAR.php line 572


And many times :
Quote:

Unknown: Function set_magic_quotes_runtime() is deprecated in file /modules/oledrion/class/lite.php line 770

(lines 770, 772, 715, 725, 772... I read it but it is about cache functions)

Any help would be very useful.
Thanks in advance


nb : sorry for massacring english like that

5
Burning
Re: Attributes in Oledrion
  • 2009/11/10 8:57

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Me again

In oledrion_attribute_radio.html and oledrion_attribute_checkbox, there is this comment : <{* DON'T REMOVE THE class= ... *}>

<label for="<{$name}>_<{$attribute_id}>"><{$attributeTitle}><{if $attribute_mandatory}> *<{/if}>label><br /> 
    <{foreach 
item=option from=$options}>    <{* DON'T REMOVE THE class= ... *}>
        checkbox' name='<{$name}>_<{$attribute_id}>[]' id='<{$name}>_<{$attribute_id}>[]' value='<{$option.value}>_<{$option.counter}>' <{if in_array($option.value, $defaultValue)}>checked='checked'<{/if}> class="oledrion_attribute <{if $attribute_mandatory}>required<{/if}>" /> <{$option.name}> (<{$option.priceTTCFormated}>)<{$delimiter}> 
    <{/foreach}>




6
ghia
Re: Attributes in Oledrion
  • 2009/11/10 10:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I suppose it is a warning for people, that wants to restyle the template, that they should not touch the class parameter in order to not disturb the good functioning of Oledrion.

7
Burning
Re: Attributes in Oledrion
  • 2009/11/10 10:42

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi' Ghia,

Thanks for your response.

I have also tried Oledrion 2.31 with :
• XOOPS 2.3.3
• default theme
• PHP 5.2.11

... same issue : default value is sent to caddy even I select another one on product page

May be a problem with js or / and my browser

8
Quest
Re: Attributes in Oledrion
  • 2009/11/10 12:20

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I don't even get the check boxes or the radio buttons. Just a default attribute on the caddy.

Quest

Login

Who's Online

387 user(s) are online (234 user(s) are browsing Support Forums)


Members: 0


Guests: 387


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits