Announcement

Collapse
No announcement yet.

Hide Component and Attributes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hide Component and Attributes

    Hi:
    Could anybody let me know if there is any way to hide text of component and attribute in shopping cart because if somebody selects a product, the html of both component and attribute comes with selected product details into shopping cart. I want hide this text and just want to show selected product details.

    Thanks

    #2
    Hi Assad

    To remove the component name from the cart, please try the workaround given in this thread : http://community.actinic.com/showthread.php?t=9147
    The above worked for me in V8 too.

    To remove the attribute name, I tried the following :
    In the folder : C:\Program Files\Actinic v8\Site 1(or equivalent), find the file ActinicOrder.pm. Right click to open in a text editor like Notepad.

    1) Comment out the following line by inserting a # symbol at the beginning :
    $Res{text} .= $pAttribute->[$::ABIDX_NAME];

    2) Change $Res{text} .= ': ' . $pAttribute->[$::ABIDX_CHOICES]->[$nIndex]; # Choice description
    to

    $Res{text} = ': ' . $pAttribute->[$::ABIDX_CHOICES]->[$nIndex]; # Choice description (i.e, remove the dot)

    3) Comment out this line :
    $Res{text} .= ': ' . $pAttribute->[$::ABIDX_NAME]; # Insert attribute

    4) Change $Res{text} .= $pAttribute->[$::ABIDX_NAME] . ': ' .
    $pAttribute->[$::ABIDX_CHOICES]->[$nIndex] . $separator .' ';

    to
    $Res{text} .= ': ' . $pAttribute->[$::ABIDX_CHOICES]->[$nIndex] .
    $separator . ' ';

    5) Change $Res{text} .= $pAttribute->[$::ABIDX_NAME] . $separator . ' ';
    to
    $Res{text} .= $separator . ' ';

    6) Change $Res{text} = ': ' .
    to $Res{text} =

    There should be multiple occurences of this.

    Save the file and update the site. Now when you add to cart, you should only see the choice names alongwith the product details.

    I am also uploading my edited ActinicOrder.pm if you wish to compare.

    If at any point, you wish to roll-back the changes, you can fish out the unmodified file from C:\Program Files\Actinic v8\Original . You need to copy this into the Site folder and update the site again.

    Let me know how you get on.
    Attached Files
    Krithika Chandrasekar
    SellerDeck

    sigpic

    E-commerce software by SellerDeck

    Comment

    Working...
    X