Announcement

Collapse
No announcement yet.

ProductReference and Extended Info page available in search results?

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

    ProductReference and Extended Info page available in search results?

    I have a somewhat unique layout to my in-development site: http://www.belliesandbooties.com/acatalog/tops.html

    I'd like my search results to reflect my section display, and ideally I'd like to do it without creating duplicate products in secondary sections. I'm going to create a custom variable for Manufacturer, and then have direct links that search by that variable. Is there any way to access the ProductReference and the extended info page name, so that I can link directly to the product's page? I use ProductReference to directly to access images, rather than using Actinic's ProductImage and ProductThumbnail (i.e. /images/1038.jpg for the item with the reference # 1038).

    If not, any other suggestions? Will I be relegated to duplicating every product?

    Thanks,

    Chris

    #2
    To get the Product Reference into the Search Results

    1) Edit SearchScript.pl and look for the line

    $ACTINIC::B2B->SetXML('S_ITEM', ($nCount + 1));

    Immediately below this add
    Code:
    		# 
    		# Product Ref in Search Results
    		#
    		$ACTINIC::B2B->SetXML('S_PRODREF', $$rarrResults[$nCount]);	# save product ref for display
    2) Edit layout Standard Search Result

    Wherever you need the reference to be generated add

    <Actinic:S_PRODREF/>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman,

      I've been looking around for a solution for getting the reference code onto the search page. Works a treat.


      Many thanks
      Regards
      Sally

      Fashion Jewellery Wholesale - Glitzy Jewels

      Comment


        #4
        Norman,

        You are THE MAN! Thanks a million!

        Chris

        Comment


          #5
          Two more questions:

          How can I access the address of my extended info page in the search results?

          Second, my Standard Search Result List doesn't seem to be an Actinic List. When I edit it, the first line does not say "Click here to edit list layout settings," but it shows up in my library with the little list icon. What am I missing? I want to format my search results in a matrix that is 5 across!

          Thanks.

          Comment


            #6
            Search results are generated on the server and thus have only limited layout possibilities in Design mode. I have done a patch that extends the results to allow multi columns. Details on www.drillpine.biz/actinicstuff

            As for the extended info page name. Unless this is strictly related to your product reference or page name (e.g. info_<prodref>.html) then there isn't a way to do this.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment

            Working...
            X