i have a opencart 2.3.0.2
And need make search in description of proudcts too. How to make search in description? because now he just search in name of product.
As you can see in the source code - you can do search by product description. All that you need just add to request parameter filter_description
Related
Im trying to clean a database that contains a lot of links that doesnt work
The problem is that there are a lot of links for picture and every picture has a different name of course.
Is it possible to select the entire link That contains "http://example.com/img/bloguploads/" with a regEX ?
Can find all hyperlinks with:
http[s]?://.[a-zA-Z0-9\.\/\-]+
And all example.com links with:
http://example\.com/img/bloguploads/\S+
I am looking to add a CMFCEditBrowseCtrl to my dialog:
It works:
But I am unable to create a new folder using this approach.
How do fix that?
EnableFolderBrowseButton has a last parameter with the name ulBrowseFolderFlags.
You have to define BIF_RETURNONLYFSDIRS|BIF_USENEWUI. Or use BIF_NEWDIALOGSTYLE.
Also look at the MSDN documentation. If you google for the flags you find further discussion and samples.
I'm working on Sitecore 8 and want to add a new language but Im having a message:
The spell checker dictionary does not exist.
Could you please help me?
All the dictionary files are stored in sitecore\shell\Controls\Rich Text Editor\Dictionaries\ directory.
There is no en-AU dictionary there by default (there are en-UK and en-US dictionaries). You can use one of them I guess. Or you can try google en-AU and use something from the Internet "en-AU.tdf" google search.
I had the same issue. I was able to resolve it by editing the "InvalidItemNameChars" setting temporarily.
Our project had a patch for InvalidItemNameChars like this:
This setting is usually in web.config. If you don't find it there, check "/sitecore/admin/showconfig.aspx" for InvalidItemNameChars.
I had to remove the '-' from the value and create the language. You will not get the error on not selecting the spell checker. You can leave it empty.
Once you are done creating the language add the '-' back to the config (in my case it was a patch config).
How do I fetch Page Name with Yahoo Pipes?
I'm making a news / blog aggregator, and need to know the name of the site where the info is coming from (bbc, cnn, fox, etc).
Do I need to do this with REGEX?
Anyone that can help?
You can fetch the page using the XPath Fetch Page or Fetch Feed modules in the Sources menu. Maybe with others too.
After that you can extract the page name itself using the various operators, possibly Regex, or others, depending on the source page you are using and the output you want to get.
In general your question is too broad and difficult to answer. To get you started, I created an example pipe that extracts the title of your question from this post, which is basically the "page name" of the current page.
http://pipes.yahoo.com/pipes/pipe.info?_id=668acf3f807c30d7b75f12459edd3252
I used the XPath Fetch Page with parameters:
URL = this page
Extract using XPath = //div[#id="question-header"]
I got that div path by inspecting the source code of this page, where I saw that div#question-header is the container of a question. I could have selected a deeper inner container or a higher level container. It all depends on the amount of other information you need. The more information you want to you from the page, the higher level container you select.
Next, I used the Create RSS operator to create a proper RSS feed, with parameters:
Title = h1.a
Link = h1.a.href
I chose these elements because in the container I extracted with xpath, the page name is inside h1 a. In Yahoo Pipes you use a dot as the path separator.
I found this sample pipe http://pipes.yahoo.com/pipes/pipe.info?_id=69b5dce1c59501a0c64a660c1cfdb856. The page title included the name of the site too. I am not sure if this what you are looking for.
My website is not showing dimensions i.e. length, height and width in product detail page.
I have added them though.
here is the link
please click here
This involves editing php files etc.
I can give you some hints
First in \catalog\controller\product\product.php
$product_info = $this->model_catalog_product->getProduct($product_id);
$product_info['length'] , $product_info['height'] , $product_info['width']
Then you need to pass these values to the template file i.e
\catalog\view\theme\default\template\product\product.tpl
you should check this link http://forum.opencart.com/viewtopic.php?t=16843#p179351
or
you could buy the extension special for this case : http://www.opencart.com/index.php?route=extension/extension/info&extension_id=2937