Zen Cart Logo
Forums / Addon Templates / Hope [multipurpose] Template Support Thread

Hope [multipurpose] Template Support Thread

Views: 15,146

Results 41 to 60 of 63
18 Dec 2012, 1:17 PM
#41
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Hope [multipurpose] Template Support Thread

Hi,

What is the slider you refer to? I think Hope template doesn't come with slider, but if you can give your URL maybe I can help you out

Thanks

1 Feb 2013, 7:54 PM
#42
wwrepair avatar

wwrepair

New Zenner

Join Date:
Jun 2012
Posts:
92
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

I do love your template. I do have two questions. Are we able to get a search box in the black horizontal nav box? And I LOVE the shadow around each product, but the problem I am having is that the product description button just goes to buy now and immediately adds part to shopping cart. Can I get this layout in the horizontal list with shadow box around each item instead of columns?

6 Feb 2013, 5:30 PM
#43
wwrepair avatar

wwrepair

New Zenner

Join Date:
Jun 2012
Posts:
92
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

WWRepair:

I do love your template. I do have two questions. Are we able to get a search box in the black horizontal nav box? And I LOVE the shadow around each product, but the problem I am having is that the product description button just goes to buy now and immediately adds part to shopping cart. Can I get this layout in the horizontal list with shadow box around each item instead of columns?

Okay, I found a solution for THE PRODUCTS DETAILS GOES TO BUY IT NOW and fixed this myself but I had to modify the file located here includes>modules>templates333>product_listing.php. Find this the red code around line 189 ```
// qty box with add to cart button
if (PRODUCT_LIST_PRICE_BUY_NOW == '2' && $listing->fields['products_qty_box_status'] != 0) {
$lc_button= zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $listing->fields['products_id']), 'post', 'enctype="multipart/form-data"') . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($listing->fields['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_draw_hidden_field('products_id', $listing->fields['products_id']) . zen_image_submit(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</form>
<br />
<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT) . '</a>';


and change to this:

// qty box with add to cart button
if (PRODUCT_LIST_PRICE_BUY_NOW == '2' && $listing->fields['products_qty_box_status'] != 0) {
$lc_button= zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $listing->fields['products_id']), 'post', 'enctype="multipart/form-data"') . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($listing->fields['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_draw_hidden_field('products_id', $listing->fields['products_id']) . zen_image_submit(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</form>
<br />
<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT) . '</a>';


At least that makes the product description button go to the correct place instead of the buy it now button. I haven't found a solution for the padding above the price to go away or how to put the search box in the black header...but will post if I find a solution
7 Feb 2013, 1:04 AM
#44
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: Hope [multipurpose] Template Support Thread

Glad that you managed yourself around the coding, I will update the template and put more enhancement, including the search bar in horizontal navigation.
Will try to update it very soon.

7 Feb 2013, 1:12 AM
#45
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: Hope [multipurpose] Template Support Thread

WWRepair:

Okay, I found a solution for THE PRODUCTS DETAILS GOES TO BUY IT NOW and fixed this myself but I had to modify the file located here includes>modules>templates333>product_listing.php. Find this the red code around line 189 ```
// qty box with add to cart button
if (PRODUCT_LIST_PRICE_BUY_NOW == '2' && $listing->fields['products_qty_box_status'] != 0) {
$lc_button= zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $listing->fields['products_id']), 'post', 'enctype="multipart/form-data"') . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($listing->fields['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_draw_hidden_field('products_id', $listing->fields['products_id']) . zen_image_submit(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</form>
<br />
<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT) . '</a>';

> 
> and change to this:
> 
> ```
// qty box with add to cart button
            if (PRODUCT_LIST_PRICE_BUY_NOW == '2' && $listing->fields['products_qty_box_status'] != 0) {
              $lc_button= zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $listing->fields['products_id']), 'post', 'enctype="multipart/form-data"') . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($listing->fields['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_draw_hidden_field('products_id', $listing->fields['products_id']) . zen_image_submit(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</form>
              <br />    
			  <a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT) . '</a>';

At least that makes the product description button go to the correct place instead of the buy it now button. I haven't found a solution for the padding above the price to go away or how to put the search box in the black header...but will post if I find a solution

I compare both codes above and they are identical... not sure what you want to achieve.

For a product that has not attribute, when the button clicked it will add product straight to the cart, if the product has attributes, the button will goes to the product info page instead.

30 Apr 2013, 8:46 PM
#46
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Hi

How can I place a menu on the nav bar to show ezpages for the header please?

Thank you

16 May 2013, 2:03 AM
#47
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: Hope [multipurpose] Template Support Thread

Sorry for my late reply.

To enable EZ-Pages nav bar in header, you can insert the code below or enable them in /includes/templates/template333/common/tpl_header.php

Find current Dropdown menu codes:

<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->

INSERT codes below Under or above the dropdown codes (which ever you think is good)

<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->

You might need to redo the stylesheet to make the EZ-Pages navigation bar fit nicely in the template.

2 Jun 2013, 8:30 PM
#48
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Hi

How can I change the size of the box on the product info page please?

The images I use are about half the size of that box

Thanks for you help

3 Jun 2013, 12:41 AM
#49
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: Hope [multipurpose] Template Support Thread

Hey...

You can edit the box in product info page from stylesheet.css (includes/templates/template333/css/)
and find this style:

#productMainImage

Change the width and height accordingly (currently they are 285px)
Hope that helps.

3 Jun 2013, 10:14 PM
#50
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Hi

Thanks for your reply and help

1 Jul 2013, 5:25 PM
#51
ucsutah avatar

ucsutah

New Zenner

Join Date:
Jul 2013
Posts:
1
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Just wondering if your still planning on making this template responsive?

thanks

21 Jul 2013, 2:50 PM
#52
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Hi

I have set my cart to only show prices when logged in... I have this template installed on the new products boxes it shows
login for price
Product details button
Buy now button
Now if someone presses buy now the go straight to the cart and see the price how can I remove that button please?

Thank you for your help in advance

9 Aug 2013, 9:23 PM
#53
dorie avatar

dorie

New Zenner

Join Date:
Jul 2010
Posts:
17
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Hi,
just install this template. a great job! i add on zx slideshows and the problem is the 2nd level of sub cate on vertical [Categories] nav-bar got blocked. is any way to fix it? any input is appreciated! my site is https://www.oneofakindforhome.com

just installed zen cart v1.5.1
add on zx slideshow
Attachment 12876

10 Aug 2013, 2:09 PM
#54
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hope [multipurpose] Template Support Thread

dorie:

Hi,
just install this template. a great job! i add on zx slideshows and the problem is the 2nd level of sub cate on vertical [Categories] nav-bar got blocked. is any way to fix it? any input is appreciated! my site is https://www.oneofakindforhome.com

just installed zen cart v1.5.1
add on zx slideshow
Attachment 12876

This is a z-index problem. You can solve it by adding a higher z-index to the menu than is on the slideshow.

Thanks,

Anne

10 Aug 2013, 2:27 PM
#55
dorie avatar

dorie

New Zenner

Join Date:
Jul 2010
Posts:
17
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Thanks very much! Anne

I solved it by updating z-index:1000 (from 1 to 1000) in the file of stylesheet.css.

Have a good day!
Dorie

11 Aug 2013, 6:25 PM
#56
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hope [multipurpose] Template Support Thread

dorie:

Thanks very much! Anne

I solved it by updating z-index:1000 (from 1 to 1000) in the file of stylesheet.css.

Have a good day!
Dorie

I am happy that you figured it out ;)

Thanks,

Anne

4 Feb 2014, 9:59 PM
#57
danyelle6974 avatar

danyelle6974

New Zenner

Join Date:
Feb 2014
Location:
United Kingdom
Posts:
1
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

Hello, I love the template, just installed it and found that the left column boxes are all missing, including the category box. I don't know why this is as the default classic template has left column category box. This is a fresh brand new install of zencart so I haven't altered anything. Any suggestions to get my left column categories side bar back? Thanks

5 Feb 2014, 6:08 PM
#58
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hope [multipurpose] Template Support Thread

danyelle6974:

Hello, I love the template, just installed it and found that the left column boxes are all missing, including the category box. I don't know why this is as the default classic template has left column category box. This is a fresh brand new install of zencart so I haven't altered anything. Any suggestions to get my left column categories side bar back? Thanks

Did you reset the sideboxes after you installed the template in admin--tools--layout boxes controller? Scroll to the bottom of the page and click on the "reset" button.

Thanks,

Anne

17 Aug 2014, 11:30 PM
#59
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

We would like to put a logo onto our header deeper than the 96 px you have for your site but doing this does not push the black bar down but instead the logo shows over the top of the bar and below. How can you set it so the bar is pushed down by a logo deeper than 96 px ?

20 Nov 2014, 11:23 PM
#60
manuelaranda avatar

manuelaranda

New Zenner

Join Date:
Nov 2014
Location:
Chile
Posts:
1
Plugin Contributions:
0

Re: Hope [multipurpose] Template Support Thread

milkyway:

I compare both codes above and they are identical... not sure what you want to achieve.

For a product that has not attribute, when the button clicked it will add product straight to the cart, if the product has attributes, the button will goes to the product info page instead.

Hi.. i found the fix!!!

edit: includes/modules/template333/featured_products.php

and delete this code:

$zen4me_buy_now = '<a href="' . zen_href_link(FILENAME_PRODUCTS_NEW, zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</a> ';

Done!
:yes: