How to remove database id from url - content-management-system

I am creating categories on my website, but CMS adds ID from phpmyadmin to link. For example, I want to create category with name Art. When I do this system gives me like this link http://domain.com/category/art-2/ this 2 is my category ID but I don't wont this on my link. I want to be like this http://domain.com/category/art/
How can I resolve this?

Related

Elementor: Custom Query that uses a pre-set target ID

So, I am trying to set the target ID for an elementor template using a short code ... e.g. can I use a shortcode like: [elementor-template id="15639" postid="9999"]?
Here my intention is to reuse an elementor template which pulls the data from post #9999 into the template. The next one might be #10078, etc. Is this possible? I can't seem to find the answer or I am searching for the wrong terms. Thx much! --Dano
P.S. The elementor template I created uses a Modal Widget, so the user can click a thumbnail (from post #9999) and then get an enlarged image (diagram) + all the data regarding the diagram (using ACF). To be clear, I am using a single post template type, NOT an archive. I don't want to create many elementor templates. I want one template that reuses the post data from a preset ID. Of course, the current page or post (that the user is on) is not the target ID I need, thus my question ... Maybe I need a custom query that will allow me to set a target ID in the shortcode?
Thx in advance!

How to create a site using SFRA but name and ID would be my custom name and ID

Whenever I am creating a site following the steps in SFCC infocentre I am getting two sites with name as RefArch and RefArchGlobal but I want my site with my id and my name, I was able to do that by creating a custom site and then assigning the same catalog as RefArch and also the same content libraries as RefArch and then by importing the slot config of Refarch to my custom site, I want to know if there is any other way of doing it easily.
Thanks,
Faizen
You can pull on your local -> Storefront Reference Architecture Data. This is a repository for the RefArch site data that goes with Storefront Reference Architecture (SFRA). After:
Clean up the demo_data_sfra folder by removing what you don't need. An example is all related to RefArchShared site if you need just
RefArch
Replace in the XML files RefArch with your site ID
Rename folder names in the sites with proper site names.
Rename catalogs and make a proper link between them.
Cross check all files to see if there are other references. For example, in the jobs.xml you might have a site context and you need to use a proper site ID there.
After all those steps, archive and import the site to your sandbox. Run reindex and clean cache and check storefront. It should work.

Is there a way to display the Product Title before the Brand Name in Facebook Page Shop?

I exported all the tags required by Facebook from my third-party online store (Lightspeed) and the data stream works as expected in terms of automatic updates, but products on my facebook page shop (Shop tab) are displayed with the brand name first — L'Oratoire Saint-Joseph — followed by the product title.
See it live : https://www.facebook.com/osaintjoseph/
The unfortunate result is that the text under many products is exactly the same. Is there a way to display the Product Title before the Brand Name?
Lightspeed support told me I had to take it up with Facebook. I am awaiting their reply. See my questions in the fb developer forum here : https://developers.facebook.com/settings/developer/community/
There are 3 ways to add products to Facebook Shop:
Manually
Data feed (e.g. CSV import)
Third party plugins (which you’re using).
Manually – the user is only able to enter 4 properties; title, description, image & variant. See facebook.com/business/help/293945421560847. There is no concept of product brand.
Data feed – this allows for additional properties, such as brand name. In the table, see example files and select product (csv, tsv or xml) facebook.com/business/help/120325381656392?id=725943027795860. However it looks like all Facebook does is concatenate string, that's the product title becomes "{brandName} – {productName}". It look like brand name is not used anywhere else. Nor is there an option to change the way it's displayed. If you edit the product, you should be able to see this in the Product Title.
Shop tab (third party plugin) – (May be it's me, but I found their documentation hard to follow) – They send an XML feed to Facebook support.shoptab.net/hc/en-us/articles/200583466-XML-Feed-for-Facebook-Storefront-with-ShopTab. They do not appear to have a concept of brand. Try and examine the data. I would expect the brand name to appear in the product title. Alternatively they allow for CSV, which also doesn't contain brand name support.shoptab.net/hc/en-us/articles/200583906-CCNow-Integration-with-ShopTab-s-Facebook-Store-App
Summary
If possible, examine the data that is sent from Shop tab to Facebook.
Try and find out if you’re able to exclude / alter the string concatenation of brand name from product title in Shop tab. If not raise a support ticket with them.
Alternatively see if you can manually edit the product title in Facebook. It’s not a long-term fix, but helps understand how the system are integrated.

Providing Dynamic Hyper links in jasper server report embedded in webapplication to route within webapplication

I'm new to Jasper, I'm building a report and embedding it in my web application, which consist of List of names from my database, I want those names to be hyperlink so that if the user click on that name he must be able to view the details page about that person in my web application. Can some one please let me know is this feature possible ?
Yeah u have to create object id for each user and place that user with in html hyperlink tag then call function for showing the user page based on object id.

Adding new page to Admin Panel in Magento

I am developing an e-commerce website and I need to customize the database. I want to add some tables into the database and records entry should be done from the Magento Admin Panel, eg:-
Like as we click Add New Product under Manage Products from Magento Admin Panel, whatever data we provide there like, name, weight, description, sku, etc, it is entered to the respective database table automatically.
Now, let’s say I want three more tables to be created in the database: Brand(brand_id, brand_name, brand_desc...), Brand_loc(brand_id, brand_loc_id, brand_address, brand_city, brand_state...), Product(prod_id, brand_id, brand_loc_id, prod_name, prod_weight....).
So, I want the above tables’ attributes to be shown in Magento Admin Panel and as I enter the data from Magento Admin Panel, it should be entered to the respective tables in the database like I explained of Add New Product above.
Can anyone please help me on the above issue....
Thanks.
I will proceed as follows :
add a event observer in my module so that can be called once a product is saved, there are various observers in magento for before and after events.
when a product is saved i will add my code of saving data into custom tables in the observer function.
tutorial to add product after observer is here :
http://snipplr.com/view/56959/
As per a magento developer i would advice to create a complete module doing as said above, and also create pages so that admin can edit/delete brands in your case.