Announcement

Collapse
No announcement yet.

passing product category group through checkout process

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

    passing product category group through checkout process

    Hi all,

    I'm setting up a new, improved affiliate scheme that allows for variable percentages on products dependant on grouping.

    Is it possible to pass this information down through the checkout process?

    For example, I have product group A, B and C defined (this bit is done in Actinic) with 5%, 10% and 20% defined as affiliate payments (this bit is done in the software)

    Thanks
    Ken
    London Kettlebells

    #2
    Ken,

    Am checking this with development on this one. Will keep you posted.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Ken,

      Have heard back from Development on this.

      The product group is stored as an integer in the corresponding section file A000N.cat file. The integer can be translated using the hash data in discounts.fil.

      I would imagine that the customer needs to expand 'sub SummarizeOrder' in ActinicOrder.pm to create an array or hash of the used product groups and
      the total value by product group. This can get complicated if the value is to include tax, shipping and handling. the resulting array/hash can then be used to create a NETQUOTEVAR value when building the Receipt. The receipt template could then include the affiliate code as per the AUG and include the NETQUOTEVAR to insert the product group detail.

      This is no small change and we cannot support it so the customer needs to
      be familiar with Perl.
      So if you are familiar with perl and want to give it a shot, go ahead, get back here to let us know if you are stuck and we will try our best to assist.

      Kind regards,
      Bruce King
      SellerDeck

      Comment


        #4
        I'm not familiar with perl but all I need is the product integer to categorise payment levels for different products for my affiliate software

        Any help (and I'll need it!) appreciated

        Ken
        London Kettlebells

        Comment

        Working...
        X