Announcement

Collapse
No announcement yet.

Short description in cart and checkout

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

    Short description in cart and checkout

    Hello

    I have set my css so that the short description in the cart is xxsmall. This works fine at the checkout, but in the view cart option, it seems to be oversized.

    Given that the checkout reads from the cart and it works there, I am a little lost why the text is oversized in the cart.

    Any suggestions.

    Here is a link to my cart (from there you can see the comparison to the checkout).

    http://www.fidelity dj.co.uk/cgi-bin...talogue%2ehtml

    (actually not sure that will work since cookies are involved, the address to the store top is http://www.fidelity dj.co.uk/acatalog/shop.html)

    Thanks as always

    Steven

    #2
    I've realised that this is due to the product being a link in the cart where as it is text in the checkout.

    The only links I can find in the css seem to also apply to the 'where you are' links, both on x-small.

    The way my product table is set up, if you click on the prodcut in the cart, it just takes you back to the part of the store you got it from.

    To that end, I want to disable the link and reduce the text.

    Hmm, any suggestions.

    Steve

    Comment


      #3
      I don't know how to get rid of the link- that will be tucked away in the Perl somewhere, but to edit the size of the links used in Actinic, you can edit the *.css file:

      change

      a:link{
      color:NETQUOTEVAR:LINKCOLORCSS;
      font-size:x-small;
      text-decoration:none;
      }

      to

      a:link{
      color:NETQUOTEVAR:LINKCOLORCSS;
      font-size:xx-small;
      text-decoration:none;
      }

      and resizethe other three 'a:' entries in the css file as well.

      Comment


        #4
        That link in the Perl is easy to patch. If you want to never display a product link in the cart display then edit ActinicOrder.pm (in Site1 - make a backup first).

        Code:
        look for the line
        
        		my $sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat, ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);
        
        replace it with these 2 lines
        
        # old line	my $sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat, ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);
        		my $sProdLink = $Response[1];      # replacement line to always inhibit product link
        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X