Site page title on Categories pages and Product Page - spartacus-storefront

I'm working with SAP Spartacus lib, version 3.6 and I need to implement a custom page title to Category Page and Product Page.
Actually, on Category Page the title is blank and on Pdp is returning PRODUCT NAME - Website name (I believe it is the default behavior).
I have looked back on Backoffice and my category already has a Description and I need to format my Product Page title to remove the Product name.
On SAP Spartacus Docs I've found this documentation, but for me do not explain how to implement this object on module.
{
provide: PageMetaResolver,
useExisting: YourCustomPageMetaResolver,
multi: true,
}
https://sap.github.io/spartacus-docs/html-tags/#customizing-meta-tags
Anyone can help me?
Thanks for your time.

Related

Shopify: How do shopify apps place an iframe on thank you page?

I've tried searching everywhere and looking at all the docs. There's nothing that shows how apps place an iframe inside the thank you page after the checkout.
How do other apps do this?
Order status page is known as Thank you page in Shopify. From Shopify Docs
Different fields appear on the order status page depending on whether
the status is confirmed, on its way, out for delivery, or delivered.
Generally, Shopify Apps add Script Tag via API to include their JavaScript on Shopify Store. The display_scope property can be order_status or all so that custom JavaScript also loads on Thank you page.
POST /admin/api/2020-07/script_tags.json
{
"script_tag": {
"event": "onload",
"src": "https://djavaskripped.org/fancy.js",
"display_scope": "order_status"
}
}
Once the JavaScript is loaded, the app may add iframe or anything that is needed. To extend the Order status page, Shopify also provides a JavaScript function named addContentBox.
Shopify.Checkout.OrderStatus.addContentBox(
"<h2>Pick-up in store</h2>",
"<p>We are open everyday from 9am to 5pm.</p>"
);

Sitefinity's Default list (mvc) widget disappeared on news details page?

I have to show Listing using the sitefinity's default List widget on my news details page where my list widget disappeared because of news detail's url because my list widget also consider it as details page while I have to show listing only.
To resolve this error I have used the article . And this is working fine in case off multiple news widgets i.e one to always display listing and other to display details but same did't work in case of list widget.(I am using mvc widgets for both news and List,with Sitefinity 10.1.6502.0)
Need your help!
It looks like for whatever reason the list widget doesn't implement an override of the HandleUnknown action. (The code for that controller is here: link) You can see similar methods in other widgets that return the index action. (e.g. the blog post widget)

GLOBAL_PageId not work

i'm trying display diffirent banner on diffirent home page by css
i use %%GLOBAL_PageId%% to display page id but it is not work no thing to display,
%%GLOBAL_PageId%% just work on contact page only
please help,
I check for:
%%GLOBAL_PageNumber%% to check if it is a blog post
%%GLOBAL_PageTitle%% to check if this is a static page (like you mentioned contact page)
%%GLOBAL_CatId%% to check if it is a category page
If none of the above are set, I assume it is a product page. But there are also login, wishlist and other predefined bigcommerce pages that I don't know how can be tracked.

prestashop layered navigation block

normally layered navigation block is only displayed on a few pages like category page, search pages. However I want to show it in the "manufacturer" page/controller. If someone clicks the "manufacturer" menu to show up all the manufacturers, I want to show the "layered navigation" on the left column of the manufaturer controller.
Does someone know how to do that ?
I am using prestashop 1.5.6.2 and a premium responsive 3 column theme.
I would appreciate any help. Thanks.
I want update this topic because now the addon to handle filtering on manufacturer product pages is available on official prestashop addons store and works perfectly :
Download blocklayeredmanufacturer module here
Best Regards

What should be the URL for Products page which is independent of Product Categories- Big Commerce?

I am customizing my Big commerce Store... I need a products page which is independent of product categories.
I am trying the below URL for products page but it says "Page cannot be found".
%%GLOBAL_ShopPathNormal%%/products.
I need the URL to redirect to product page. Please help.
%%GLOBAL_ShopPathNormal%% gives you the store url (non SSL version). The navigation is category based. What you are trying will not work. Maybe, you can hack this - Create a category called "products" and add all the products to it. Then, when you navigate to the URL (storeurl/products), it should list all the products.