Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#181 2008-10-26 09:39:00

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 573
Website GitHub

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)

Offline

#182 2008-10-27 10:53:28

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

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

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 573
Website GitHub

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!

Offline

#185 2008-10-28 11:13:08

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

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

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 573
Website GitHub

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?

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 573
Website GitHub

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.

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

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

Board footer

Powered by FluxBB