Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#181 2008-10-26 09:39:00
Re: yab_shop (simple textpattern shop with paypal support)
Hi Si,
for an easy use you can simply set display: none for the appropriate table rows in your css. But the fields will be still displayed in sent mails.
For complete code removing:
Copy the full code from the installed yab_shop_core (v0.5.0) in an editor.
Removing in checkout table:
Search the function: yab_shop_build_checkout_table beginns at line 854.
Now comment or delete the lines 908-912, 926-930 and 936-940. These are the lines that will produce table rows in the chekout.
Removing in mails:
Search the function: yab_shop_build_mail_body beginns at line 972.
Comment or delete the lines 1020, 1021 and 1030.
Then copy the the whole stuff back in your textpattern!
This should work.
But beware: the total price will still be calculated with tax and shipping costs, so set both to 0 resp. 0.00!
Last edited by trenc (2008-10-26 09:49:01)
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#182 2008-10-27 10:53:28
Re: yab_shop (simple textpattern shop with paypal support)
Million thanks for your detailed reply, Trenc!
I’m wondering why it didn’t occur to me to simply change the display property! so easy ))
but it’s good to know how to remove it from the core.
Cheers!
Offline
#183 2008-10-27 19:22:45
Re: yab_shop (simple textpattern shop with paypal support)
Hi,
Can you please add support for South African Rand?
Thank you!
Offline
#184 2008-10-28 11:04:45
Re: yab_shop (simple textpattern shop with paypal support)
fuls wrote:
Hi,
Can you please add support for South African Rand?
Thank you!
Sure, no problem. Try out the new version 0.5.1!
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#185 2008-10-28 11:13:08
Re: yab_shop (simple textpattern shop with paypal support)
Great trenc, thank you very much!
Last edited by fuls (2008-10-28 11:13:28)
Offline
#186 2008-10-28 20:01:10
Re: yab_shop (simple textpattern shop with paypal support)
hi again, it looks like now shipping cost are not showing up on checkout page?
Offline
#187 2008-10-29 09:47:31
Re: yab_shop (simple textpattern shop with paypal support)
Hm, I can’t reproduce this behavior with the downloaded plugin.
Can you please search the displayed checkout html for the shipping cost table row? It should beginn with the following:
<tr class="yab-checkout-shipping">
If this exists so maybe it’s a problem with css or something.
Btw. the modifications I mention here are for those who don’t want the shipping costs displayed.
Does anybody have the same problem with the new version 0.5.1?
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#188 2008-10-29 13:33:12
- ellen
- Member
- From: Switzerland
- Registered: 2006-04-18
- Posts: 41
Re: yab_shop (simple textpattern shop with paypal support)
Hello,
I have a problem with the variant field. I want to enter up to 15 variants but any time I save the article, the variants are cut to six or seven of them. Is there a restriction to the number of characters one is allowed to use in this field? If yes, is there a work-around?
Kind regards,
Ellen B.
Offline
#189 2008-10-29 15:22:15
Re: yab_shop (simple textpattern shop with paypal support)
Hi ellen,
I have a problem with the variant field. I want to enter up to 15 variants but any time I save the article, the variants are cut to six or seven of them. Is there a restriction to the number of characters one is allowed to use in this field? If yes, is there a work-around?
This is a database resp. textpattern limitation. Textpattern use for the article custom fields a varchar database field with 255 length.
Possible workaround:
If you have an MySQL version 5.0.3 or above you can change the varchar field length up to 65535.
If your MySQL version is before 5.0.3 you have to change the database field types to TEXT or MEDIUMTEXT.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#190 2008-10-30 13:13:23
- ellen
- Member
- From: Switzerland
- Registered: 2006-04-18
- Posts: 41
Re: yab_shop (simple textpattern shop with paypal support)
Hello trenc,
Thank you for your prompt reply! The workaround works fine for me – problem solved.
This is a great plugin, keep going like this,
Ellen
Offline
#191 2008-11-06 20:47:00
Re: yab_shop (simple textpattern shop with paypal support)
Anyone using this live?
Art Rogue – Fine Art Photography
Offline
#192 2008-11-06 21:04:40
- ellen
- Member
- From: Switzerland
- Registered: 2006-04-18
- Posts: 41
Re: yab_shop (simple textpattern shop with paypal support)
Yes, I currently do at http://www.mountainstay.ch/shop/
Offline