Welcome to MonJoomla forum board.

Custom fields

Custom fields

Hi,
    My client's asking for  custom fields if their customers needs to delivery by post how  can we do the delivery method?

Thank you
Peter

peesaderd
useravatar
Offline
6 Posts
User info in posts
Administrator has disabled public posting

Re: Custom fields

Hello

The best for that you need to do like one of my first customer do everyday. Sell them separatly.

Check here http://www.polarbearsclub.ca/en/gift.html

You have my component for the ready to use card and a regular cart plastic card for delivery.

You cannot do both in my component.

regards

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1620 Posts
User info in posts
Administrator has disabled public posting

Re: Custom fields

Great

Thank you
Peter

peesaderd
useravatar
Offline
6 Posts
User info in posts
Administrator has disabled public posting

Re: Custom fields

Hi Lebill,
     Can you please advise me how to make the gift card  as reference for one by one group product product as example information below:

Thai massage 1
- 30 Mins $50
- 60 Mins $80
- 90 Mins $110
- 120 Mins $140

Thai massage 2
- 60 Mins $120
- 120 Mins $ 210

How can I make it as the group product and one group have child product inside for each one please give me the document then I will look into it.

Thank you
Peter

peesaderd
useravatar
Offline
6 Posts
User info in posts
Administrator has disabled public posting

Re: Custom fields

Hello Peter

You can do that in 3 different ways.

The first one is the natural way... just enter in the component options (Certificates amounts)

50|Thai Massage 1 - 30Mins, 80|Thai Massage 1 - 60Mins, 120|Thai Massage 2 - 60Mins, 210|Thai Massage 2 - 120Mins.

If you really want to group the price, you can do it BUT those are not natural to the component and not natural to the dropdown menu. You need to modify some HTML.

The easy method is to modify the current dropdown menu, it's pure HTML, now the menu is generated dynamic from the database.

BUT you can remove the dynamic stuff and hardcode what you want, just keep how I pass the value for each massage.

To do that open this file

/components/com_kocustomgiftcard/views/modal/tmpl/modal.php

the dropdown start at line 73 to 104
You can delete those lines and replace  it by it's HTML, like that

Code:


                <select name="ko_amount" id="ko_amount">
                     <option value="50|Thai Massage 1 - 30Mins" >Thai Massage 1 - 30Mins ( 50$ )</option>           
                </select>

Now you just need to do the grouping thing in the select (I know you can to that , but don;t know how) Just keep how the VALUE is formated.

The third method is like the link I send you in my last POST here, http://www.polarbearsclub.ca/en/gift.html

With the component you can create single cards with one price and one image (card).

Don't forget when you see a web page in your browser, you have pure HTML in the view source, you can copy the url I use to open the popup

and use the url in a normal Joomla content page.

Code:

<a class="KOmodal"  rel="{handler: 'iframe', size: {x: 780, y: 500}, onClose:function(){ $('sbox-content').empty(); }, closeWithOverlay:false}" href="/index.php/component/kocustomgiftcard/?tmpl=component&view=modal&layout=modal&ko_style=model3.jpg&scard=model3.jpg&card_dir=cards&sprice=50|Thai Massage 1 - 30Mins">IMAGE</a>

You can design a nice page with different images and you link them to the component using the url, just change the image name and the price (always keep the same format for the price)

I think it's everything...

BUT the best do the natural way, it's simpler and work great (first example) for the other two you need some HTML knowledge

Thanks

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1620 Posts
User info in posts
Administrator has disabled public posting

Re: Custom fields

Hi Lebill,
     I don't have time to try for your explanation but it should be very easy by syntax if we need to do group service as syntax below.

Code:

 {ko_url card2.jpg!35|TRADITIONAL THAI MASSAGE 30 MINS,59|TRADITIONAL THAI MASSAGE 60 MINS,89|TRADITIONAL THAI MASSAGE 90 MINS,} 

And another group should be done by this way just change prices and details. I think I can do your way but when my customer need to update services that they have to do it very more complex. Also I have try this as the attached file that I can process it to Paypal but did not buy it yet. And system generate another buttons depends on how many (|) you put as the image file.

http://monjoomla.com/components/com_agora/img/members/4739/mini_Screen-Shot-2013-07-17-at-10.png
http://monjoomla.com/components/com_agora/img/members/4739/mini_17072013-1052_Screen-Shot-2013-07-17-at-10.png

I hope you can solve this by easy way not too many coding that my customer can update it easy.


Thank you
Peter

peesaderd
useravatar
Offline
6 Posts
User info in posts
Administrator has disabled public posting

Re: Custom fields

Hello Peter

Not sure to understand what you need...

I just try this

Code:

50|Thai Massage 1 - 30Mins, 80|Thai Massage 1 - 60Mins,110|Thai Massage 1 - 90Mins,140|Thai Massage 1 - 120Mins, 120|Thai Massage 2 - 60Mins, 210|Thai Massage 2 - 120Mins

And it work great and you don't modify the code.

Let me know

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1620 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
780
Total Polls:
0
Total Posts:
167772604
Total Posts Today:
5
User Info:
 
Total Users:
4183
Newest User:
jmanmejia1
Members Online:
1
Guests Online:
216

Online: 
Wellsb

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked