How to customize Ofbiz Point Of Sale? - erp

I would like to have dynamic categories and products listing on ofbiz pos instead of static products.
I would like to customize look and feel of current pos.
I have tried changing it from the xmls, but haven't succeeded.
I would really appreciate if somebody could guide me in the right directions.
Thanks!

POS available in OFBiz is actually for demo purpose only. You can create your own POS system by using any other web technologies and can call POS API's available in OFBiz.
HTH.

Related

How do Airbnb implemented localization and realtime booking?

I was wondering if anyone know about how did the Airbnb implemented their system such that only local listings or listings within a specific area (based on the postal code) will appear to the user ? And also , how did they implemented real time booking so that if a property gets booked , it won't appear available to the next person ? Are there any API's available that could help me implement the same for my store ?
If anyone could provide any guidance , that will be very helpful.
Thank you !
AirBNB don't use Shopify.
It's an entirely different system. With that, they'll have very different technical abilities.

Shopify store translate into multiple languages

Is it possible to change the shopify Language in client side.
I have 3 Language locale file. I want to translate based on client choice
is it possible to use below code to change my language.
{% assign shop.locale = 'fr' %}
thanks in advance.
Seems there is no good enough solution, I have built this my own client-rendered solution. My solution provide:
single domain
not reload page on change language
unlimited language
unlimited page view
FREE
https://gist.github.com/Asoul/e5ee0a0f0ed17c93383ff47818b319c4
I open my source code above. I think this is some foundamatal infrastrcuture for an ec website, that's shameful to charge on this.
Hope these code can help some people.
But I think the perfect solution is that Shopify can offer a server-rendered method, not client rendered.
After doing some research, I realized that there was no "Plug and Play" solution available.
Creating one store per language would have been too expensive and requires you to somehow sync your stores.
A JavaScript solution does not supports SEO.
Shopify has a tool called langify using this we can do it but it has monthly recurring price I have added the link for your reference.
Shopyify App store link

Creating 'Category list layout' in Umbraco which will show list of Textpages?

As long-time Joomla administrator, I decided to try something new and I finally found Umbraco for which I believe is great CMS (specially for developers). I started creating my first website but I have some problems. In Joomla I used to use a lot of 'Category list layout' which is used to show articles in this order
http://docs.joomla.org/images/2/2a/Category_list_layout_example.png
And it always worked great and it most of the cases it suited for most of my clientd. I would like to achieve this in Umbraco. On my template I have this standard layout
Which is very simple. I would like to be able to make it look almost exactly like Joomla Category list layout but I don't know where to start? How can I add some additional columns beside Textpage title? How to make it visually like Joomla (one row - x color, second row - y color, third row - x color etc)?
Also are there any themes or similar which could be used only for this purpose? Perhaps some add-ons or similar?
Any help is appreciated and many thanks in advance!
MC

Adding special offers to website

I am new to web development. Currently I am designing a website where people can purchase different stuff. The website has got a number of special offers such as if you shop for more than $200, you get 20% off, if you shop for 3 similar items, you get a fourth one free.
Can anybody just point me in the right direction what is the best way to do this? Also if the offer changes, I donot have to change a lot of code.
thanks!
You can use various e-commerce and payment gems like the ones in Railscasts.
Some more gems for this purpose are here - The Ruby Toolbox and here too.
As mentioned in the comments, you can use the Saas products like Shopify but that's not free.
I'll point you to some code that should help you out.
For example, " if you shop for 3 similar items, you get a fourth one free. " in ror_ecommerce this is a "Deal". The code is here:
https://github.com/drhenner/ror_ecommerce/blob/master/app/models/deal.rb
This code is not straight forward but basically looks for the best deal an order qualifies for.
if you have buy 2 get one free you might want to implement buy 4 get 2 free and buy 6 get 3 free...
Similiarly ror-e has sales. The only thing you would need to add is a condition for order.total and pass that value into the Sale.for method.
I hope this helpss
DISCLAIMER: I wrote the code!

How to get rid of stupid "pad" labels produced by RTML functions?

I am unlucky to be in charge of maintaining some old Yahoo! Store built using their RTML-based platform.
Recently I've noticed that HTML code generated by some RTML functions is sprinkled all over with "padding images" (or whatever is the conventional name for those 1x1 pixel images used to enforce layout). I have nothing against using such images, but... all those images are supplied with an ALT attribute like this:
<img href="http://.../image1x1.gif" alt="pad">
With all due respect to the original authors of RTML, but they must have been smoking something when they came up with this "accessibility enhancement"... :-(
Anyway, here are my questions:
Does anybody know a list of all RTML functions that generate HTML with all these "pad" images?
Is there any way to get rid of all those alt="pad" attributes without rewriting a lot of RTML code?
NB: This may sound a little cynical, but improved accessibility is not the main goal here. The main goal is to stop exposing those moronic alt="pad" attributes to Google and other smart search engines. So client-side scripting is not going to help, as far as I know.
Thank you!
P.S. Probably, most of you are really lucky and never heard of RTML. Because if somebody would establish a prize for software products based on
commercial success
------------------
usability
ratio, this RTML-based "platform" would probably win the first place.
P.P.S. Apparently someone from Yahoo! finally listened, because I can no longer find those silly "pad" tags in the RTML generated for our store. Nevertheless, one of the ideas offered in response to my original question does provide a very practical solution - not just to the original problem but to any similar problem with RTML platform. See the winning answer - it's really good.
The only way I see is to have your own website front-end that will filter whatever you want from the RTML site....
for example, your rtml site is at http://rtmlusglysite.yahoo.com/store/XYZ01134 , you could host a simple PHP front-end at http:://www.example.com that would be acting like a "filtering" HTTP web proxy, so http://rtmlusglysite.yahoo.com/store/XYZ01134/item1234.rtml would be accessed by http://www.example.com/item1234.html
It's not an ideal solution, but it should work, and you could do some more fancy stuff.
Nice try from the other posters, but there is a very simple RTML command that will do it. . .
TEXT PAT-SUBST s GRAB
MULTI
HEAD
BODY
TEXT #var-with-alt-tag-equals-pad-in-it
frompat "alt=\"pad\""
topat ""
The above RTML will find all instances of alt="pad" and replace it with nothing.
Well you're right on RTML being relatively untraveled :)
Do you have a way to add your own attributes to these images tags? If so, would it be possible to override the alt attribute? If you specify alt="", I would think that would override Yahoo's... Otherwise consider putting a useful alt tag in there for the blind and dialup types.
It's the first time I'm hearing about this platform, but here is an idea: if you can add javascript to the pages, you could write a function that will run after the page has loaded and remove all the alt="pad" attributes from the page.
Unfortunately this solutions works only with browsers that know about scripting, so lynx or some other text based browsers might not support it.
I have shared a link official RTML guide from yahoo. Hope it will help. Thanks!
List of available RTML books and resources

Resources