Forums / Setting Up Categories, Products, Attributes / Creating an add-on "product type book" for ZC 1.5

Creating an add-on "product type book" for ZC 1.5

Views: 111,142

Results 121 to 140 of 427
26 Aug 2014, 12:24 PM
#121
desmat avatar

desmat

New Zenner

Join Date:
Sep 2009
Posts:
23
Plugin Contributions:
0

Creating an add-on "product type book" for ZC 1.5

:smile::smile:
await anxiously

26 Aug 2014, 5:03 PM
#122
amdad avatar

amdad

New Zenner

Join Date:
Aug 2014
Location:
Dhaka
Posts:
9
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

hi philou,
thanks for your reply. dear i need another help from you. my problem is (1) tpl_product_bookx_info_display.php page open correctly but product description content is missing. (2) when view tpl_product_bookx_info_display.php page then sidebox position change, i mean tpl_product_bookx_info_display.php page looking not good it's layout may break . please help me.
now i used zen cart version 1.5.1 and template is cherry_zen

26 Aug 2014, 5:49 PM
#123
dmlyons avatar

dmlyons

New Zenner

Join Date:
Jul 2014
Location:
Boston, MA, USA
Posts:
47
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

I'm running 1.5.1 and I can't seem to work out a few nits. The book pages and main page look fine, but the category pages have problems. Example?

http://firebornpublishing.com/store/index.php?main_page=index&cPath=4

My three main problems are...

  1. The garbage code that shows at the top of the page, below the 1 to 3 (of 3 products) line. I have fixed code like that on other pages, but I can't find the file I'm dealing with to fix this.
  2. The fact that the category pages (and ONLY the category pages, as far as I can tell) push the right sideboxes off the edge of the backdrop. All the rest sit nicely on it, as they should.
  3. The inconsistency in how the buy button/prices are displayed. I haven't added code that would mess with this, so I don't know why the first, second, and third books all display differently.

Any help would be greatly appreciated.
DML

26 Aug 2014, 7:32 PM
#124
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi Desmat,

please check out the archive "Hotfix_BookX_0.9.3_Alpha_Sorter.zip" at sourceforge https://sourceforge.net/projects/zencartbookx/files/

You need to update some files in order to fix the "filters" issue. I hope it won't cause you any problems, because these are files taken from the current work in progress of version 0.9.4 of the plugin.

Let me know if it works for you.

Best,
p.

26 Aug 2014, 7:37 PM
#125
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

amdad:

hi philou,
thanks for your reply. dear i need another help from you. my problem is (1) tpl_product_bookx_info_display.php page open correctly but product description content is missing. (2) when view tpl_product_bookx_info_display.php page then sidebox position change, i mean tpl_product_bookx_info_display.php page looking not good it's layout may break . please help me.
now i used zen cart version 1.5.1 and template is cherry_zen

Hi amdad,

are you sure you are using the latest version from sourceforge https://sourceforge.net/projects/zencartbookx/files/
I believe the missing description on tpl_product_bookx_info_display.php is fixed in 0.9.3 ?

If yes, then can you give me either a URL to look at your site, or I would need the HTML source for your page. I think I had a wrong HTML tag in there somewhere, but I thought I fxied it…

Best regards,
p.

26 Aug 2014, 7:55 PM
#126
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

DMLyons:

I'm running 1.5.1 and I can't seem to work out a few nits. The book pages and main page look fine, but the category pages have problems. Example?

http://firebornpublishing.com/store/index.php?main_page=index&cPath=4

My three main problems are...

  1. The garbage code that shows at the top of the page, below the 1 to 3 (of 3 products) line. I have fixed code like that on other pages, but I can't find the file I'm dealing with to fix this.
    It seems the php code ```
    $zco_notifier->notify('NOTIFY_TEMPLATE_PRODUCT_LISTING_TABULAR_DISPLAY_BEGIN');
> 2. The fact that the category pages (and ONLY the category pages, as far as I can tell) push the right sideboxes off the edge of the backdrop. All the rest sit nicely on it, as they should.
It is related to problem (1). If you don't have the very long "word" $zco_notifier->notify('NOTIFY_TEMPLATE_PRODUCT_LISTING_TABULAR_DISPLAY_BEGIN');which makes the center column wider than it should be, the boxes will be positioned correctly> 3. The inconsistency in how the buy button/prices are displayed. I haven't added code that would mess with this, so I don't know why the first, second, and third books all display differently.
Don't see exactly what you mean on your site, can you provide a direct like to the page you are talking about?

Best,
p.
26 Aug 2014, 8:23 PM
#127
dmlyons avatar

dmlyons

New Zenner

Join Date:
Jul 2014
Location:
Boston, MA, USA
Posts:
47
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

philou:

It seems the php code ```
$zco_notifier->notify('NOTIFY_TEMPLATE_PRODUCT_LISTING_TABULAR_DISPLAY_BEGIN');


Okay, that is working now that I've moved the line further down the file, and it did fix problem #2 as well. Thank goodness and thank you. I was taking your directions too literally and had the hook line as line 1 of the file. It didn't like that. Grin... But all is well there now.


> **philou:**
>
> Don't see exactly what you mean on your site, can you provide a direct like to the page you are talking about?

I already posted a direct link to the page I'm talking about...
<http://firebornpublishing.com/store/index.php?main_page=index&cPath=4>

If you look at the coming soon page, you will see...this.

Attachment 14457

Hey, Baby's price and buy link are in the price column. 
Poly Sigh's price and buy link are in the item name column instead of in the price column. 
Seasons of Change's price is in the item name column, and there's no buy link. 
I would have thought all three would be in the price column, but...why aren't they all showing uniformly? :huh:

DML
29 Aug 2014, 2:56 PM
#128
redransom avatar

redransom

New Zenner

Join Date:
Aug 2014
Posts:
20
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi ,

I've been using this plugin for a customers website and I wondered if it was possible to have author type filters in a side box? I ask this as the client wants to be able to filter by Author and then also filter by Illustrator (which is a author type). Is this possible currently?

Thanks in advance!

29 Aug 2014, 4:05 PM
#129
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi Red,

a filter for author type should not be too difficult to include. I have decided to reduce the number of other features I wanted to include in the next version 0.9.4beta, which means I will release 0.9.4beta rather soon, ideally by next week. That way the three recent requests /bugs posted here by yourself, DMLyons and amdad can be implemented / fixed, and I don't have to wrap up single files as an advance release to give you this functionality.

Please all be reminded here that this plugin is still in the beta stage, and although I feel it is rather stable already, it should only be used in a live shop if you know what you are doing ;)

Regards,
p.

29 Aug 2014, 6:38 PM
#130
redransom avatar

redransom

New Zenner

Join Date:
Aug 2014
Posts:
20
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Hi Philou,

I don't mean to be stepping on your toes but I didn't think that the version I have had this functionality so I started adding it.

I have got to the stage where I have updated files to use Illustrator name/description and added the necessary new files (as far as I could tell) for Illustrators. Unfortunately I can't get it to install so I've obviously bitten off more than I can chew and unfortunately I started doing these changes on version 0.91 (I didnt realise you had newer versions than this as I had only seen the uploaded file on the main site).

If you think you have a better version then I will certainly stop - I am just conscious that my client was wanting the functionality as quick as possible.

Kinsley (RedRansom)

29 Aug 2014, 6:47 PM
#131
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

Hi Kinsley,

no harm done. I happen to be working on it (and on the filters specifically) in these days, so I might as well add the author types filter too. As I am working on it, I discover a few lose ends even in the database, so I would think trying to implement this on your version 0.9.1 will be lots of pain for you with little pleasure at the end. Apart from the work to be done, you will have a solution that modifies many BookX core files, so expect headaches if you ever wanted to upgrade…

Concerning versions on ZC.com and sourceforge: It's true I have been lazy about updating the plugin here on ZC.com and I promise to be better about it from now on ;)

Regards,
p.

29 Aug 2014, 7:22 PM
#132
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

redransom:

Hi ,

I've been using this plugin for a customers website and I wondered if it was possible to have author type filters in a side box? I ask this as the client wants to be able to filter by Author and then also filter by Illustrator (which is a author type). Is this possible currently?

Thanks in advance!

Just to be sure:
You want to filter the books by the author Joe Blow and then set a second filter so you see only the books which Joe Blow illustrated, but not the ones where he wrote the texts.

Is that your scenario?

30 Aug 2014, 10:46 AM
#133
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

redransom:

Hi ,

I've been using this plugin for a customers website and I wondered if it was possible to have author type filters in a side box? I ask this as the client wants to be able to filter by Author and then also filter by Illustrator (which is a author type). Is this possible currently?

Thanks in advance!

philou:

Just to be sure:
You want to filter the books by the author Joe Blow and then set a second filter so you see only the books which Joe Blow illustrated, but not the ones where he wrote the texts.

Is that your scenario?

The more I think about it, it seems strange to filter by author (name) first and then add another filter for author type. Wouldn't it be more intuitive to choose to only see e.g. "Illustrators" and then pick an author (= illustrator) from that list? Possibly the "author type" filter could even reduce the options in the "author" filter popup, meaning the "author" filter popup in the sidebox would only show illustrators if the corresponding "author type" filter is set.

Let me know what your use case is, so we can find the best way to implement this.

Regards,
p.

30 Aug 2014, 3:32 PM
#134
dmlyons avatar

dmlyons

New Zenner

Join Date:
Jul 2014
Location:
Boston, MA, USA
Posts:
47
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Back again...quick question...

I'm running 1.5.1, and I want to change the line-up of my product pages a bit. In specific, I want to have the series name show on the product page (it doesn't at the moment), and I want to move the price from the bottom of the page to further up...either above or below the book description, so readers can see the price right away. How would go about doing that?

Thanks in advance.
DML

30 Aug 2014, 4:00 PM
#135
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

There is a setting in Admin -> Catalog -> product types -> Product Type Bookx -> edit layout -> Product Detail: Show Series
If you turn that on, then Series should show on the Product Info page.

Looking at the page "product_bookx_info" on your site, i have the feeling you are still not using the latest version of BookX, because there the price is at the top…?
http://firebornpublishing.com/store/index.php?main_page=product_bookx_info&cPath=4&products_id=39

Regards,
p.

30 Aug 2014, 4:35 PM
#136
dmlyons avatar

dmlyons

New Zenner

Join Date:
Jul 2014
Location:
Boston, MA, USA
Posts:
47
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Probably so, since setting every series possibility on the section you told me to to 1=Yes, unless it's empty (all but the showing the description were already set to 1 before I got to it) still doesn't result in the series name showing on the book page. The filter has always shown the series choices, but the book pages still don't. Guess I better see about updating again.

DML

30 Aug 2014, 5:08 PM
#137
dmlyons avatar

dmlyons

New Zenner

Join Date:
Jul 2014
Location:
Boston, MA, USA
Posts:
47
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

And...this would be why I hate updating.
WARNING: An Error occurred, please refresh the page and try again.

I put the files in place. The latest version 0.9.3 already has the changes made in the files you have to make in a new installation. I changed the BAK file as I should...and I still get this error.

DML

30 Aug 2014, 5:57 PM
#138
dmlyons avatar

dmlyons

New Zenner

Join Date:
Jul 2014
Location:
Boston, MA, USA
Posts:
47
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Okay...though I'm still getting the error on updating to 0.9.3, the price and buy button have moved to the top, where I want them.

And 1=Yes, unless it's empty does NOT work, but 2=Yes does, so the series is showing below the description/excerpt.

My two cents? If it's working, don't mess with it. Thanks much for your help.

DML

31 Aug 2014, 10:57 AM
#139
philou avatar

philou

Zen Follower

Join Date:
Jan 2006
Posts:
165
Plugin Contributions:
1

Re: Creating an add-on "product type book" for ZC 1.5

DMLyons:

And...this would be why I hate updating.
WARNING: An Error occurred, please refresh the page and try again.

I put the files in place. The latest version 0.9.3 already has the changes made in the files you have to make in a new installation. I changed the BAK file as I should...and I still get this error.

DML

Could you please try to run the installation again and when you get the error, please check the error log in your "cache" folder an tell me what it says, so I can find and fix the problem.

Regards,
p.

31 Aug 2014, 6:39 PM
#140
redransom avatar

redransom

New Zenner

Join Date:
Aug 2014
Posts:
20
Plugin Contributions:
0

Re: Creating an add-on "product type book" for ZC 1.5

Sorry Philou,

Been woorking on other projects last couple of days.

No you are right - Illustrator or Author like you said it wouldnt make sense to do both.

And also upgrading to 0.9.3 then would probably be a mare - I'd rather obviously get the site live and then use the new version of bookx.

Kinsley