Am trying to create a new discount rule in my e-commerce website.
I thought nools rule engine was the best to implement. but i dont know how to start and where to start. i have read the documentation also . am not getting anything. Can any one help me with sample code or how to start.? Thanks in advance to all
There are examples with the documentation, you should check it. Maybe try to apply to the google group if you have a specific question: https://groups.google.com/forum/#!forum/nools
Related
Im looking for a way to add an NPC which sells items based on the achievements a character has. Because of my lack of other coding skills, if at all possible i would like to achieve it with SQL commands, hence modifying the db. I was looking through the conditions page on the wiki but have no idea how to use the provided information.
Also i was backtracing the db regarding the NPC Charles Worth who happens to teach tailors recipes based on achievements they have. I intended to copy this toons conditions, but couldnt find what entries to use.
Any help, clarifying db entries, or pointing to the right direction in another way, is much appreciated.
Please follow this link for the documentation:
https://www.azerothcore.org/wiki/conditions
You can use the source type: "SOURCE_TYPE_NPC_VENDOR" and the condition type: "CONDITION_ACHIEVEMENT" for what you need, how to implement this, you can find that in the link above.
Also, one way to make this easier is to use the tool developer by the azerothcore team, Keira3.
This is a very visual Database Editor and can help you understand what each column do as almost each cell is documented and you have links to the full documentation as well.
Keira3 link: https://github.com/azerothcore/keira3
I have searched this site and the ZenCart site and have come up with nothing I can use. I want to move orders from Zen Cart to Woocommerce. I have exported everything from Zen and already moved it to Woo, except for the orders. The csv and xml files do not contain the actual order information (with the exception of an order number, which isn't helpful to woo). I can only find one mapping system (Cart2Cart) but it is extremely expensive for over 130k orders.
So, my question is, do you know a better way to migrate this? If not, do you have a solution I've not thought of? If it were just a few hundred or thousand orders, it would be no problem migrating, but this amount of orders is one I'm not familiar with.
I'm well versed in phpmyadmin so I can export etc. Please let me know what other information I can give to you and thank you, in advance, for your help!
Thank you,
K
WordPress offers some WooCommerce migration plugins that can help you much in this situation.
Try this one: https://wordpress.org/plugins/nextcart-woocommerce-migration/
It allows to move orders from ZenCart to WooCommerce for free.
I have a few stores and did a bunch of migrations. I've tried different methods, but an automated way worked best for me, since I do not have much time to do that tech stuff by myself. I would advise you try Cart2Cart - it's my number one assistant. The guys are really great and make everything run smoothly. The price is affordable, so no need to worry about that. You can perform a free demo and make a final decision. Have a great one!
I know, the question isn't clear in itself. Let me explain.
I want to create a system where a visitor can choose options from different lists and result will be the total amount with all the details of the selected components.
Theoretically it's a simple formula but i have no idea how to apply it on wordpress. i am not even on moderate level in programming.
So, anyone has any idea, how it can be achieved, any plugin or functions.
Thanks in advance!
If your not comfortable coding this is a bit tough. It sounds like you're talking about some type of store (total amount?). A list of items with details and price and lists of add ons or features that change the price and product configuration? Something like that?
Coding this would I think be a bunch of jQuery/javascript. Otherwise try the Gravity Forms plugin (which I've used and should be able to do this for you) or perhaps a straight ecommerce plugin - there are lots. Then I think you just have to learn the plugin to get the setup you want.
I want to use the semanticvectors API. I am completely new at this. I want to make a program which takes some documents and searches keywords and returns the documents which are conceptually similar to the search keywords. I want to know if there is any document from which I can get all the function and their functionality description and from which I can learn or if there is any example to do so.
I have checked
https://code.google.com/p/semanticvectors/
and
http://semanticvectors.googlecode.com/svn/javadoc/latest-stable/index.html
but couldn't understand anything. Please help me. Thank you.
It is not clear what you want to do with SemanticVectors. Here is where you should start off with:
https://code.google.com/p/semanticvectors/wiki/InstallationInstructions
And for specific questions, it would be fruitful if you ask on project's forum itself:
https://groups.google.com/forum/?fromgroups#!forum/semanticvectors
I currently implement a replace function in the page render method which replaces commonly used strings - such as replace [cfe] with the root to the customer front end. This is because the value may be different based on the version of the site - for example the root to the image folder ([imagepath]) is /Images on development and live, but /Test/Images on test.
I have a catalogue of products for which I would like to change [productName] to a link to the catalogue page for that product. I would like to go through the entire page and replace all instances of [someValue] with the relevant link. Currently I do this by looping through all the products in the product database and replacing [productName] with the link to the catalog page for that product. However this is limited to products which exist in the database. "Links" to products which have been removed currently wont be replaced, so [someValue] will be displayed to the user. This does not look good.
So you should be able to see my problem from this. Does anyone know of a way to achieve what I would like to easily? I could use regexes, but I don't have much experience of those. If this is the easiest way, using "For Each Match As String In Regex.Matches(blah, blah)" then I am willing to look further into this.
However at some point I would like to take this further - for example setting page layouts such as 3 columns with an image top right using [layout type="3colImageTopRight" imageURL="imageURL"]Content here[/layout]. I think I could kind of do this now, but I cant figure out how to deal with this if the imageURL were, say, [Image:Product01.gif] (using regex.match("[[a-zA-Z]{0,}]") I think would match just [layout type="3colImageTopRight" imageURL="[Image:Product01.gif] (it would not get to the end of the layout tag). Obviously the above wouldn't quite work, as I haven't included double quotes in the match string or anything, but you get the general idea. You should be able to get the general idea of what I am getting at and what I am trying to do though.
Does anyone have any ideas or pointers which could help me with this? Also if this is not strictly token replacement then please point me to what it is, so I can further develop this.
Aristos - hope reexplaining this resolves the confusion.
Thanks in advance,
Regards,
Richard Clarke
#RichardClarke - I would go with Regular Expressions, they're not as terrible to learn as you might think and with a bit of careful usage will solve your problems.
I've always found this a very useful tool.
http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx
goes nicely with a cheat sheet ;-)
http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/
Good luck.