When I register a new category, it keeps loading and does not show in WordPress - ajax

When I register a new category, it keeps loading and does not show.
The load next to the "add new category" button keeps loading and the new registered category does not appear in the category list, however, if I reload the page it appears.
In another project I have in WordPress, when I register a new category, this new category dynamically appears in the category list.
enter image description here
I already checked the functions.php and didn't find any errors.

Related

filtering and searching not working in magento 2 custom grid in product edit page

i have created one custom grid as new tab in product edit page.data is displaying in grid form.searching or sorting is not working there.if i put
$this->setUseAjax(false);
then every time total product page is reloading.if i put ajax as true giving ajax error.so what we have to define in grid if we writing that as custom tab in product admin

Get Menu items in content zone in orchard cms

I have created one Content type called "Product", Then created one query that select all product and shows on home page. To show products on home page i have created projection widget.
Now when i click on particular product it gets redirect to the detail page of that product.
Question is i want to show Menu items (like navigation bar) beside the content.
in the attached image red portion will have menu items.
so how can i achieve this?
Please help.

adding product listing on magento homepage with description

I need to show my new products on the home page as a list view. I have used a Magento widget, but it is not returning the description of the product. How can I fetch the whole details of the product in the home page as shown in the image below?
First find out(template hint) the file from where your widget is rendering products. It's located in app/design/frontend/<yourpackage>/<yourtheme>/template/catalog/product/widget/new/content/new_grid.phtml/new_list.phtml
Go look in that file, you will see how and what values are the widgets printing. So if you want description within the foreach loop you can get by printing $_product->getShortDescription() or $_product->getData('short_description')
Similarly to get other stuff like in list page, please take reference from template/catalog/product/list.phtml see how the other details are being printed and get those here on widget phtml file.

Magento subcategory display on click parent

I have created my own parent.phtml page in Magento to display a grid view on the home page and it is working.
My question is about clicking a parent category and then displaying all subcategories grid like subcategory.phtml. How do I set my URL which passes the parent id in the URL and redirect to subcategory.phtml? Is this possible?
you can try this http://www.creare.co.uk/magento-subcategories-category-pages. It redirects to page displaying sub-categories along with images on clicking the main category.

values in dropdown of configurable products attributes in listing page of magento

This is my product description page.
In the dropdown of color there is a list.i want this list (red,green,blue) in my product listing page.
thats here:-
How to get the value of configurable products in product listing page?
Thanks in advance,
Go to Magento admin panel. Then, go to Manage Product under Catalog Menu.
Click on you product. Then, it will show product detail.
You will see Custom Option on Left Menu. Click on this
Click on Add New Option
After that, type display name on Title eg. Color
Choose Drop-Down on Input Type
New Box appear. So, you can add Red on Title. Then, click to Add New Row. You should add 3 row based on your requirement. Then, save.
If you don't see any thing on front-end UI, Clear Cache and ReIndex Manage again.
Hope this help

Resources