How do I add letters prefix before my order number? - magento

all Im trying to add a few letters before the order number in magento, currently they are at default 100000001, 100000002, etc but I'm wanting something like,TD10000001, TD10000002, I've checked out several tutorials that say I need to edit the: Mage_Eav_Model_Entity_Increment_Numeric function but there doesn't seem to be a decent tutorial telling me how to do this.
Any help would be appreciated.

Answered, found an awesome free plugin by MSWebDesign that allows prefixes before the order number exactly what I wanted, hope this helps anyone else.

Related

is there a specific way to write xpaths into rapidminer for web crawling

I have tried so many options, over many days to try and extract data. I don't know where I am going wrong.
for example, I am on the website reviewcentre.com and am looking at car selling site reviews.
I am struggling badly to retrieve information, most of my xpaths appear incorrect.
Where can I best learn how to do this properly, I have spent days at this.
https://www.reviewcentre.com/car_dealers/we_buy_any_car_-_wwwwebuyanycarcom-review_14068020
I know how to copy xpaths, but when it comes to rapidminer, I can't extract the data.
I know I am doing it wrong, but I don't know what's right unfortunately.
examples include
//*[#id="ReviewTitle-14068020"]
h:html/h:head/h:title/text()
this one works!
//*[#id="ReviewBox-14068020"]/div[1]/div[2]/p[2]/span
I have no problem it appears retrieving the xpath from the website, but using it for extracting data on rapidminer is not working at all..Would really appreciate if anyone can point me in the right direction.
Obviously, you don't want to use unique IDs in your xpaths.
Make sure you have understood the concept of xml namespaces, too.

How to check for any answer satisfying a condition

I have just started with Prolog and I have come to a roadblock. I have searched for an answer to this here and on google for maybe 2 hours now. Its probaly really easy and I probably missed it but I am about to give up so please help me.
I dont really know how to ask the question so here is an example.
Lets say I have this:
related(football, sport).
related(thing, otherthing).
related(rugby, sport).
I want to make a rule. One of the conditions in this rule is to check if I am related to anything.
rule(A) :- <Here I want to check if A is related to anything> , othercondition(A).
I need to know if its related to anything at all. What it is related to does not matter.
using
rule(rugby).
for example would give me true since rugby is related to sport.
I hope my question is clear enough.
You could write:
rule(A):-related(A,_),othercondition(A).
Note that '_' is anonymous variable and matches with anything.

Pagination with Letters as index

I may have misunderstood what index is, after reading my question, you'll soon realize so please correct me if i was wrong. anyhow,
Is there any tutorial on paginating in codeigniter. Something that is simple and concise, i don't need complex ones since ill have hard time understanding the whole code.
A B C D
Ants
Airplane
Something like above, instead of number paging, would it be possible to paginate by first letters?
Ive encountered alot of sites that have these although im not sure if coding this would need any add-ons.
I think you have to build one. already this topic is disccused in CI forum.
Please check the forum link:
http://ellislab.com/forums/viewthread/164849/

How do I get a short code in India?

I am developing an application that requires the use of a short code, but I can't seem to figure out where to get one. I need one in India, but when I look for one, there are plenty of companies that rent keywords to use in their short code, but I can't find anyway to get my own short code. Once again, I want my own short code, not a keyword in someone else's. Can someone point me in the right direction?
Better you contact Service providers like vodafone, Airtel, relaince...
Just by googling I came across this, May be This be of some help

cs cart file structure

I want to learn the cs-cart file structure.
I want to make changes to the admin side functionality, can you guide me to where can I read the file structure and the functionality of files.
Any help would be appreciated.
thanks a lot in advance.
Have a look in /skins/your_skin/admin/common_templates to find templates.
If you know what you want to change e.g. last viewed items, do a global search for last_viewed_items.tpl and you'll find it is used in \shop\controllers\admin\tools.php and a number of other places.
You are just going to have to keep digging and if it were me, I would draw some sort of flow chart as I went.
Of course, once you have discovered how it all pieces together you are going to post your results here for others to discover...right?

Resources