Skip to content

Commit

Permalink
nopSolutions#6678 AddThis service replaced with ShareThis
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyKulagin committed Apr 24, 2023
1 parent 8dac154 commit 87ea19f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Libraries/Nop.Core/Domain/Catalog/CatalogSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public CatalogSettings()
public bool ShowShareButton { get; set; }

/// <summary>
/// Gets or sets a share code (e.g. AddThis button code)
/// Gets or sets a share code (e.g. ShareThis button code)
/// </summary>
public string PageShareCode { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2885,7 +2885,7 @@ await settingService.SaveSettingAsync(new CatalogSettings
CategoryBreadcrumbEnabled = true,
ShowShareButton = true,
PageShareCode =
"<!-- AddThis Button BEGIN --><div class=\"addthis_toolbox addthis_default_style \"><a class=\"addthis_button_preferred_1\"></a><a class=\"addthis_button_preferred_2\"></a><a class=\"addthis_button_preferred_3\"></a><a class=\"addthis_button_preferred_4\"></a><a class=\"addthis_button_compact\"></a><a class=\"addthis_counter addthis_bubble_style\"></a></div><script src=\"http://s7.addthis.com/js/250/addthis_widget.js#pubid=nopsolutions\"></script><!-- AddThis Button END -->",
"<!-- ShareThis Button BEGIN --><div class=\"sharethis-inline-share-buttons\"></div><script type=\"text/javascript\" src=\"https://platform-api.sharethis.com/js/sharethis.js#property=64428a0865e28d00193ae8a9&product=inline-share-buttons&source=nopcommerce\" async=\"async\"></script><!-- ShareThis Button END -->",
ProductReviewsMustBeApproved = false,
OneReviewPerProductFromCustomer = false,
DefaultProductRatingValue = 5,
Expand Down
4 changes: 2 additions & 2 deletions src/Presentation/Nop.Web/App_Data/browscap.crawlersonly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9738,10 +9738,10 @@
<browscapitem name="CheckMarkNetwork*">
<item name="Crawler" value="true" />
</browscapitem>
<browscapitem name="AddThis.com robot">
<browscapitem name="ShareThis.com robot">
<item name="Crawler" value="true" />
</browscapitem>
<browscapitem name="AddThis.com*">
<browscapitem name="ShareThis.com*">
<item name="Crawler" value="true" />
</browscapitem>
<browscapitem name="Friendica">
Expand Down

0 comments on commit 87ea19f

Please sign in to comment.