Announcement

Collapse
No announcement yet.

Bug in 14.0.2 - Product anchor link broken and Facebook likes reset to zero

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

    Bug in 14.0.2 - Product anchor link broken and Facebook likes reset to zero

    Here's another bug some may want to be aware of in SellerDeck 14.0.2 and there is a temporary fix further down the post. If you have a standard product, not using the Single Product Page, the SellerDeck product anchor link has changed which stops anchoring and resets custom social media counts.

    For links to products from the mega menu at the top, or clicking sections if they are not filtered, or from the site map the link ends .html
    For links from a marketing list, or filtered pages or quick search results the link used to end .html#a182 that was so that the link anchored to the correct product reference number if you had more than one product on a page.
    Now in 14.0.2. the anchor link has changed to end .html#SID=11?a182

    This causes two problems:
    1) Product anchor link broken - Link no longer anchors down to a product, because #SID Section ID is first, plus there is a question mark. Note #SID is normally used for Single Product pages when the link ends .html#SID=11
    2) Facebook likes reset to zero - If you had added a custom Facebook button code to your layout which grabs the URL from the browser window, visitors may have been previously clicking "Like" on the product anchor link and Facebook associated that URL with the likes. Now the URL link has changed when you visit a product page under the new anchor link the Facebook button count is reset and shows 0 likes, because the URL is different. I assume this could also affect counts for other shares, tweet buttons etc if they also use the exact URL however I have not tested.

    SellerDeck Support raised this as a bug and provided a temporary fix, they said:
    "This issue (including the Facebook issue) have been raised under the following bug reference "Search and filter for Alt products used in all sites regardless SD-5400" We are still working on a permanent solution however in the mean time the files supplied resolved the issue. Place the files within the site folder and "publish to web""
    SellerDeck supplied a temporary fix to the 14.0.2 Perl and Javascript files ACTINIC.pm and actinicextras.js
    Note if you are using compression then you will need to make sure the Javascript fix is applied to the compiled sellerdeck.min.js file instead - if in doubt contact SellerDeck Support.
    Zip file is attached to bottom of this post in case anyone needs the fix for anchors and social media URLs.

    As an alternative to using custom Facebook button code, SellerDeck 2014 has default built in social media available via the Settings menu > Site Options > Social Media tab however note, the URL link SellerDeck uses for social media is always the canonical link version for the page ending .html without any anchor tags on the end regardless of page type. So if those affected changed to use the SellerDeck code they would still have to start over at 0 likes.

    Fix for 14.0.2 attached below. Bear in mind each time there is a patch upgrade it overwrites the scripts again (until the bug is fixed).
    Attached Files
    Peblaco

    #2
    For those that want the same fix for 14.0.3 software patch, I put the fixes into the 14.0.3 scripts and attached the file below. Bear in mind each time there is a patch upgrade it overwrites the scripts again (until the bug is fixed).
    Attached Files
    Peblaco

    Comment

    Working...
    X