X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   EZUPSELL 3 column display (https://forum.x-cart.com/showthread.php?t=32790)

Art lopez 07-25-2007 02:17 PM

EZUPSELL 3 column display
 
I was wondering how to get a 3 column display for EZUPSELL. Currently it only shows up as a one column display. I'm a newbie when it comes to coding.

carpeperdiem 07-25-2007 04:45 PM

Re: EZUPSELL 3 column display
 
Ok -- let's look at how to do this -- a virgin ezupsell will have a loop that's just outside a <tr>

{section name=cat_num loop=$product_links}

then there is a {/section} outside the </tr> -- this basically asks how many product_links there are, and loops until they are done -- but since the loop is OUTSIDE the <tr> it will basically make a list, stackd on top of each other.

IF you were to put the loop just inside the <tr> before the <td>, and then move the {/section} to just before the </tr>, you will now loop <td> cells -- on the same line...

Now, the way I did this was to use some css and make an "ezupsell" lisitng class...so each product gets a thumbnail and a listing.

I would be happy to share my code - but you may want to ask Jon for a version that does what I am suggesting, since it is a commercial mod.

I hope this is enough to get you going here.

Jeremy

donavichi 03-22-2008 02:51 AM

Re: EZUPSELL 3 column display
 
Here's a 4.0 version of ezUpsell with a 4-column display. If you want to change the number of columns, change the '{ if %cat_num.index% is div by 4 }' to the number of columns that you require.

You get a thumbnail above the product title for each item.

Code:


{capture name=upsell}

<table border="0" align="center" cellpadding="2" cellspacing="0">
 <tr>
  <td valign="top"><div align="center">{include file="product_thumbnail.tpl" productid=$product_info.productid image_x=$config.Appearance.thumbnail_width product=$product_info.product tmbn_url=$product_info.tmbn_url}&nbsp;</div></td></tr>
  <tr>
  <td valign="top">
    <div align="center"><font size="3" face="Arial"><b>{$lng.lbl_you_have_added} {$amount} &quot;{$product_info.product}{if $amount > 1}s{/if}&quot; {$lng.lbl_to_your_shopping_cart}.</b></font>      <br />
    <font class="Text">What would you like to do now?</font></div></td>
 </tr>
</table>

<div align="center">
  <table border="0" cellspacing="0" cellpadding="0" width="411" height="43">
    <tr>
      <td width="195" height="43" background="{$ImagesDir}/ez_continueshopping.gif">
        <p align="center"><a href="home.php?cat={$product_info.categoryid}&page={$page}"><font color="#FFFFFF" size=2><b>{$lng.lbl_continue|upper}</b></font></a></td>
      <td width="216" height="43" background="{$ImagesDir}/ez_checkout.gif">
        <p align="center"><a href="cart.php"><font color="#FFFFFF" size=2><b>{$lng.lbl_checkout|upper}</b></font></a></td>
    </tr>
  </table>
</div>

<hr noshade size=1>

{if $product_links ne ""}
<p><font face="Arial" size="2"><b>These products go really well with {$product_info.product}:</b></font></p>


{section name=cat_num loop=$product_links}

{ if %cat_num.first% }
<table border=0 width="100%">{/if}
{ if %cat_num.index% is div by 4 }<tr>{/if}

<td style="padding-left:4px;padding-right:4px;padding-top:5px;padding-bottom:5px;" width="25%" align="center" valign="top"><a href="product.php?productid={ $product_links[cat_num].productid }">{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid product=$product_links[cat_num].product tmbn_url=$product_links[cat_num].tmbn_url}</a><br />
<a href="product.php?productid={ $product_links[cat_num].productid }">{ $product_links[cat_num].product|escape}</a></td>
{ if %cat_num.last% }</tr>
</table>{/if}
{/section}
{/if}
<br>
{/capture}

{include file="dialog.tpl" title=$lng.lbl_productadded content=$smarty.capture.upsell extra="width=100%"}


paul@dimoda.com.au 05-24-2008 07:04 AM

Re: EZUPSELL 3 column display
 
Does anyone have either, for 4.1, a 1 column display with product description or a multi column layout for version4.Thanks

Lingerieblowout 05-27-2008 06:22 AM

Re: EZUPSELL 3 column display
 
The above code works great in 4.1.9. for multi products.

Add this product to your cart for an example

http://www.lingerieblowout.com/EM-1987-Charmeuse-Gown-p-22510.html

SamsonWebDesign 11-05-2008 07:36 AM

Re: EZUPSELL 3 column display
 
Hi,

I have EZ Upsell installed and I want to add a buy now button to the page and also the short description.
Anyone know how this is done?

Jon 11-05-2008 07:58 AM

Re: EZUPSELL 3 column display
 
If on a recent x-cart version you can use:

Code:

{if $product_links ne ""}
<p><b>{$lng.lbl_with_this_product}:</b></p>
{include file="customer/main/products_t.tpl" products=$product_links}
{/if}


SamsonWebDesign 11-05-2008 08:05 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Jon
If on a recent x-cart version you can use:

Code:

{if $product_links ne ""}
<p><b>{$lng.lbl_with_this_product}:</b></p>
{include file="customer/main/products_t.tpl" products=$product_links}
{/if}



I just tried that but get an error back:
Warning: Division by zero in /shop/var/templates_c/%%29^29F^29F53FB4%%products_t.tpl.php on line 40
Warning: Division by zero in /shop/var/templates_c/%%29^29F^29F53FB4%%products_t.tpl.php on line 161

It does display the title, thumbnail and also the price which is good. I need a buy now button there though as well. Any ideas?

Jon 11-05-2008 08:07 AM

Re: EZUPSELL 3 column display
 
What is line 40 and 161 of your skin1/customer/main/products_t.tpl?

SamsonWebDesign 11-05-2008 08:09 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Jon
What is line 40 and 161 of your skin1/customer/main/products_t.tpl?


Well.....lines 39-42 are as follows:

{if $products[product].product_type ne "C"}
<br />
<br />
{if $active_modules.Subscriptions ne "" and $products[product].catalogprice}

The file ends at line 102!!!

Here it is in full
PHP Code:

{* $Idproducts_t.tpl,v 1.30.2.12 2008/07/15 12:07:40 ferz Exp $ *}
<
table width="100%" cellpadding="0" cellspacing="0">
<
tr>
    <
td>

<
table width="100%" cellpadding="5" cellspacing="1">

{
math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"}

{
section name=product loop=$products}
{
assign var="discount" value=0}

{if %
product.indexis div by $config.Appearance.products_per_row}
<
tr>
{
assign var="cell_counter" value=0}
{/if}

{
math equation="x+1" x=$cell_counter assign="cell_counter" }

    <
td width="{$width}%" class="PListCell">

<
a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}class="ProductTitle">{$products[product].product}</a><br />
{if 
$config.Appearance.display_productcode_in_list eq "Y" and $products[product].productcode ne ""}
{
$lng.lbl_sku}: {$products[product].productcode}<br />
{/if}
<
table cellpadding="3" cellspacing="0" width="100%">
<
tr>
    <
td height="100" nowrap="nowrap">
<
a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>
{if 
$active_modules.Special_Offers ne "" && $products[product].have_offers && $usertype eq 'C'}
{include 
file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]}
{/if}
    </
td>
</
tr>
</
table>
{if 
$printable neq 'Y'}
<
a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}">{$lng.lbl_see_details}</a>
{/if}
{if 
$products[product].product_type ne "C"}
<
br />
<
br />
{if 
$active_modules.Subscriptions ne "" and $products[product].catalogprice}
{include 
file="modules/Subscriptions/subscription_info_inlist.tpl"}
{else}
{if (
$config.General.unlimited_products ne "Y" && ($products[product].avail le 0 or $products[product].avail lt $products[product].min_amount) && $products[product].variantid) or ($products[product].taxed_price ne 0 or ($products[product].variantid && $products[product].variants_has_price) or ($active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""))}
{if 
$products[product].taxed_price ne 0 or ($products[product].variantid && $products[product].variants_has_price)}
{if 
$products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price}
{
math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount}
{if 
$discount gt 0}
&
nbsp;<font class="MarketPrice">{$lng.lbl_market_price}: <s>
{include 
file="currency.tpl" value=$products[product].list_price}
</
s></font><br />
{/if}
{/if}
<
font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</font><br /><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if}
{if 
$products[product].taxes}<br />{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes is_subtax=true}{/if}
{/if}
{if 
$active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""}
{include 
file="modules/Special_Offers/customer/product_special_price.tpl" product=$products[product]}
{/if}
{else}
<
font class="ProductPrice">{$lng.lbl_enter_your_price}</font>
{/if}
{/if}
{if 
$active_modules.Feature_Comparison ne '' && $products[product].fclassid 0}
<
div align="center" style="width: 100%; padding-top: 10px;">
{include 
file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid}
</
div>
{/if}
{*** 
Uncomment it if you need 'Buy Now' button ***
{if 
$usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include 
file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
*** 
Uncomment it if you need 'Buy Now' button ***}
{/if}
    </
td>

{
capture name=prod_index}
{
math equation="index+x+1" index=%product.indexx=$config.Appearance.products_per_row}
{/
capture}
{if 
$smarty.capture.prod_index is div by $config.Appearance.products_per_row }
</
tr>
{/if}

{/
section}

{if 
$cell_counter lt $config.Appearance.products_per_row}
{
section name=rest_cells loop=$config.Appearance.products_per_row start=$cell_counter}
    <
td class="SectionBox">&nbsp;</td>
{/
section}
</
tr>
{/if}

</
table>
    </
td>
</
tr>
</
table>
{if 
$active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y' && $products_has_fclasses && $js_enabled}
{include 
file="modules/Feature_Comparison/compare_selected_button.tpl"}
{/if} 


Jon 11-05-2008 09:13 AM

Re: EZUPSELL 3 column display
 
Try this. Find:

$config.Appearance.products_per_row

change to

$config.Appearance.products_per_row|default:'3'

SamsonWebDesign 11-05-2008 09:23 AM

Re: EZUPSELL 3 column display
 
Thanks for that. I replaced that line twice in the code in 2 areas and it works fine now.

Any ideas on getting a Buy Now button into the layout?

Jon 11-05-2008 11:42 AM

Re: EZUPSELL 3 column display
 
FIND:

Code:

{*** Uncomment it if you need 'Buy Now' button ***
{if
$usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include
file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
***
Uncomment it if you need 'Buy Now' button ***}



Replace with:

Code:


{if
$usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include
file="customer/main/buy_now.tpl" product=$products[product]}
{/if}




And ensure buy now buttons are enabled in your General Settings -> Appearance admin section.

SamsonWebDesign 11-05-2008 12:45 PM

Re: EZUPSELL 3 column display
 
That has almost worked and I see the buy now button but there is a long error message and a quantity box which is empty appearing.

uantity Warning: Smarty error: math ``x/y'' in ``customer/home.tpl'': parameter ``y'' is empty in /shop/Smarty-2.6.19/Smarty.class.php on line 1092

http://dev.impublications.com/shop/skin1/images/but1.gifBuy Nowhttp://dev.impublications.com/shop/skin1/images/but2.gif

SamsonWebDesign 11-11-2008 01:27 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by SamsonWebDesign
Hi,

I have EZ Upsell installed and I want to add a buy now button to the page and also the short description.
Anyone know how this is done?


I still cannot get an answer to my question about the layout I need to achieve with EZ Upsell. Can anyone help! :(
I want to recommend a product with a thumbnail, the product title, product description, price and a buy now button.

It should look pretty much the same as the layout in products.tpl but I can't get it to work. I've tried just including products.tpl but that throws up lots of error.

Any ideas?

I have so far done this:
Made a new tpl called products_ez.tpl and this is included on the ezupsell.tpl file as shown below:
PHP Code:

<div align="right">
  <
table border="0" cellspacing="0" cellpadding="0" height="43">
    <
tr>
      <
td height="43"><table align="right" cellpadding="0" cellspacing="0" dir="ltr" onclick="{$js_link}style="cursor: pointer;">
          <
tr>
            <
td width="8" style="background-repeat: repeat-y; background-image: url({$ImagesDir}/flc_but{$sfx}1.gif);"><img src="{$ImagesDir}/spacer.gif" class="BBSide" alt="" /></td>
            <
td height="29" background="{$ImagesDir}/flc_butbg.gif" class="{$bg_title_class}"{$reading_direction_tag}><strong><a href="home.php?cat={$product_info.categoryid}&amp;page={$page}">{$lng.lbl_continue}</a></strong></td>
          {if 
$arrow eq ""}
            {/if}
            <
td width="8" style="background-repeat: repeat-y; background-image: url({$ImagesDir}/flc_but{$sfx}2.gif);"><img src="{$ImagesDir}/spacer.gif" class="BBSide" alt="" /></td>
          </
tr>
      </
table></td>
      <
td width="10">&nbsp;</td>
      <
td height="43"><table align="right" cellpadding="0" cellspacing="0" dir="ltr" onclick="{$js_link}style="cursor: pointer;">
          <
tr>
            <
td width="8" style="background-repeat: repeat-y; background-image: url({$ImagesDir}/flc_but_r1.gif);"><img src="{$ImagesDir}/spacer.gif" class="BBSide" alt="" /></td>
            <
td background="{$ImagesDir}/flc_but_rbg.gif" class="{$bg_title_class}"{$reading_direction_tag}><strong><a href="cart.php">{$lng.lbl_checkout}</a></strong></td>
          {if 
$arrow eq ""}
            <
td background="{$ImagesDir}/flc_but_rbg.gif" class="RedArrow" {$reading_direction_tag}><img src="{$ImagesDir}/rarrow_flc.gif" alt="" /></td>
          {/if}
            <
td width="8" style="background-repeat: repeat-y; background-image: url({$ImagesDir}/flc_but_r2.gif);"><img src="{$ImagesDir}/spacer.gif" class="BBSide" alt="" /></td>
          </
tr>
      </
table></td>
    </
tr>
  </
table>
</
div>
   {
capture name=upsell}
<
br>

<
table border="0" cellpadding="2">
 <
tr>
  <
td valign="top">{if $product_info.is_pimage eq 'W' }{assign var="imageid" value=$product_info.wcm_varid}{else}{assign var="imageid" value=$product_info.productid}{/if}{include file="product_thumbnail.tpl" productid=$imageid image_x=$config.Appearance.thumbnail_width product=$product_info.product tmbn_url=$product_info.pimage_url type=$product_info.is_pimage}&nbsp;</td>
  <
td valign="top">
  <
font class="ProductDetailsTitle" >{$lng.lbl_you_have_added} {$amountcopy of {$product_info.product}{if $amount 1}s{/if}</font><br />
  <
font class="ProductDetailsTitle" >{$lng.lbl_to_your_shopping_cart}.</font>  </td>
 </
tr>
</
table>

<
hr noshade size=1>

{if 
$product_links ne ""}
<
p><font face="Arial" size="2"><b>{$lng.lbl_with_this_product}:</b></font></p>
<
table border=0 cellspacing=0>
{
section name=cat_num loop=$product_links}
<
tr class="ItemsList">
  <
td>{include file="customer/main/products_ez.tpl" products=$product_links}</td>
  <
td valign="top">&nbsp;</td>
</
tr>
{
sectionelse}
<
tr><td></td></tr>
{/
section}
</
table>
{/if}

<
br>
{/
capture}

{include 
file="dialog.tpl" title=$lng.lbl_productadded content=$smarty.capture.upsell extra="width=100%"


My products_ez.tpl file is like this:
PHP Code:

{* $Idproducts_t.tpl,v 1.30.2.12 2008/07/15 12:07:40 ferz Exp $ *}
<
table width="100%" cellpadding="0" cellspacing="0">
<
tr>
    <
td>

<
table width="100%" cellpadding="0" cellspacing="0">

{
math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"}

{
section name=product loop=$products}
{
assign var="discount" value=0}

{if %
product.indexis div by $config.Appearance.products_per_row|default:'3'}
<
tr>
{
assign var="cell_counter" value=0}
{/if}

{
math equation="x+1" x=$cell_counter assign="cell_counter" }

    <
td width="{$width}%" class="PListCell">


<
table cellpadding="3" cellspacing="0" width="100%">
<
tr>
    <
td height="100" nowrap="nowrap">
<
a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>
{if 
$active_modules.Special_Offers ne "" && $products[product].have_offers && $usertype eq 'C'}
{include 
file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]}
{/if}    </
td>
    <
td valign="top" nowrap="nowrap"><a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}class="ProductTitle">{$products[product].product}</a><br />
{if 
$config.Appearance.display_productcode_in_list eq "Y" and $products[product].productcode ne ""}
{
$lng.lbl_sku}: {$products[product].productcode}<br />
{/if}
<
br />
<
br />
{
$products.descr}
{
$products[product].descr}
<
br />
{if 
$printable neq 'Y'}
<
a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}">{$lng.lbl_see_details}</a>
{/if}
{if 
$products[product].product_type ne "C"}
<
br />
<
br />
{if 
$active_modules.Subscriptions ne "" and $products[product].catalogprice}
{include 
file="modules/Subscriptions/subscription_info_inlist.tpl"}
{else}
{if (
$config.General.unlimited_products ne "Y" && ($products[product].avail le 0 or $products[product].avail lt $products[product].min_amount) && $products[product].variantid) or ($products[product].taxed_price ne 0 or ($products[product].variantid && $products[product].variants_has_price) or ($active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""))}
{if 
$products[product].taxed_price ne 0 or ($products[product].variantid && $products[product].variants_has_price)}
{if 
$products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price}
{
math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount}
{if 
$discount gt 0}
&
nbsp;<font class="MarketPrice">{$lng.lbl_market_price}: <s>
{include 
file="currency.tpl" value=$products[product].list_price}
</
s></font><br />
{/if}
{/if}
<
font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</font><br /><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if}
{if 
$products[product].taxes}<br />{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes is_subtax=true}{/if}
{/if}
{if 
$active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""}
{include 
file="modules/Special_Offers/customer/product_special_price.tpl" product=$products[product]}
{/if}
{else}
<
font class="ProductPrice">{$lng.lbl_enter_your_price}</font>
{/if}
{/if}
{if 
$active_modules.Feature_Comparison ne '' && $products[product].fclassid 0}
<
div align="center" style="width: 100%; padding-top: 10px;">
{include 
file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid}
</
div>
{/if}
{*** 
Uncomment it if you need 'Buy Now' button ***
{if 
$usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include 
file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
*** 
Uncomment it if you need 'Buy Now' button ***}
{/if}</
td>
</
tr>
</
table>

    </
td>

{
capture name=prod_index}
{
math equation="index+x+1" index=%product.indexx=$config.Appearance.products_per_row}
{/
capture}
{if 
$smarty.capture.prod_index is div by $config.Appearance.products_per_row|default:'3' }
</
tr>
{/if}

{/
section}

{if 
$cell_counter lt $config.Appearance.products_per_row}
{
section name=rest_cells loop=$config.Appearance.products_per_row start=$cell_counter}
    <
td class="SectionBox">&nbsp;</td>
{/
section}
</
tr>
{/if}

</
table>
    </
td>
</
tr>
</
table>
{if 
$active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y' && $products_has_fclasses && $js_enabled}
{include 
file="modules/Feature_Comparison/compare_selected_button.tpl"}
{/if} 


It shows the thumbnail, title, price and so on but I can't get it to show the product desription.
I'm trying {$products.descr} and {$products[product].descr} as you will see in the code but neither work.

Anyone know why it won't display the description?

Lingerieblowout 11-11-2008 05:13 AM

Re: EZUPSELL 3 column display
 
Try this: {$product_info.product}

SamsonWebDesign 11-11-2008 05:47 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Lingerieblowout
Try this: {$product_info.product}


That just gave me the title of the product I have added to the cart but thanks for trying.
I need the description of the recommended product I am upselling.

http://dev.impublications.com/shop/added.php?cat=0&productid=16187&amount=1&page=1

Lingerieblowout 11-11-2008 06:40 AM

Re: EZUPSELL 3 column display
 
Sorry ..

{$product_info.fulldescr}

or

{$product_info.descr}

SamsonWebDesign 11-11-2008 07:03 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Lingerieblowout
Sorry ..

{$product_info.fulldescr}

or

{$product_info.descr}


That's it!
Thanks so much for that little gem. Was driving me mad! 8O

Lingerieblowout 11-11-2008 07:24 AM

Re: EZUPSELL 3 column display
 
No problem .. Sometimes the easy ones are the hardest !! ... hehe

SamsonWebDesign 11-11-2008 07:26 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Lingerieblowout
No problem .. Sometimes the easy ones are the hardest !! ... hehe


Yes especially when you've been modding a skin layout all day and your brain is fried! :roll:

Overthingking a problem often causes overconfusion!
Got there in the end though. :D/

SamsonWebDesign 11-12-2008 02:44 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Lingerieblowout
Sorry ..

{$product_info.fulldescr}

or

{$product_info.descr}


:( This didn't work as well as I thought it had.
The description that is being pulled in to the product that I am upselling is that of the product the customer has purchased.
I need the description of the product being upsold.

Take a look at:
http://dev.impublications.com/shop/added.php?cat=108&productid=16181&amount=1&page=0

The description is of the NMP Primer book and not the Goodwood book.

I am using {$product_info.descr}.

Any ideas?

Lingerieblowout 11-12-2008 04:26 AM

Re: EZUPSELL 3 column display
 
ahhh .. the one being sold .. Let me look at that one for you ....

Lingerieblowout 11-12-2008 04:57 AM

Re: EZUPSELL 3 column display
 
This is how you get the price .. Try this for price ?

{ $product_links[cat_num].price}

Have to get back to it later

SamsonWebDesign 11-17-2008 11:04 PM

EZUPSELL Support sucks!
 
I've been trying for a week now to get a simple amendment made to my EZ Upsell module I PURCHASED from WebsiteCM.

After numerous support emails backwards and forwards and a lot of try this and no that doesn't work I'm afraid I'll have to just give up.

A warning to anyone wanting to buy this module and have it altered! They don't seem to want to help unfortunately.

If anyone out there has managed to fget a description in the product you are upselling then pleeeaaasssseeee let me know.

Off to try and get my money back now! :(

Anyone know another good upselling module?

Jon 11-18-2008 07:59 AM

Re: EZUPSELL 3 column display
 
The solutions we've offered have worked for others and so there's only so much support we can offer without logging in and doing the work ourselves to find out why it is not working for you. Personally I feel it unreasonable to expect customization as part of the base price of a pre-built module.

SamsonWebDesign 11-18-2008 08:03 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Jon
The solutions we've offered have worked for others and so there's only so much support we can offer without logging in and doing the work ourselves to find out why it is not working for you. Personally I feel it unreasonable to expect customization as part of the base price of a pre-built module.


Hi Jon,
I'd have been willing to pay but I emailed twice and you said you were looking into the problem but I heard nothing for days and had to complete the mod myself. We even gave FTP access as requested about 3 or 4 days ago and heard nothing back!

All I wanted to know was if it could be done but got no response. The mod is great but I just needed a little more help. I've managed to sort the problem out now anyway using a custom made mod of the related_products template.

I'll be back for more licences from you so please don't think I'm having a dig at you I just sisn't get a response as quickly as I thought I would.

Jon 11-18-2008 08:05 AM

Re: EZUPSELL 3 column display
 
We are currently running a bit behind as volume is very high due to the Christmas season but are working diligently to stay on top of things - our support is also not available on weekends - I do apologize for the delay you experienced.

SamsonWebDesign 11-18-2008 08:07 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Jon
We are currently running a bit behind as volume is very high due to the Christmas season but are working diligently to stay on top of things - our support is also not available on weekends - I do apologize for the delay you experienced.


No problem. As I said the mod is great and I think even better now I managed to get a description in the upsold product.
Keep up the good work :D/

I'm just impatient!!! :roll:

Lingerieblowout 11-18-2008 08:15 AM

Re: EZUPSELL 3 column display
 
I dont see the mod working on your page .. but I do see from adding books this come up

You might also be interested in:

If there is no related products ... add an IF statement to show/not show those words...

Just my 2 cents : )

SamsonWebDesign 11-18-2008 08:18 AM

Re: EZUPSELL 3 column display
 
Quote:

Originally Posted by Lingerieblowout
I dont see the mod working on your page .. but I do see from adding books this come up

You might also be interested in:

If there is no related products ... add an IF statement to show/not show those words...

Just my 2 cents : )


Hi,

It's working on the site:
http://dev.impublications.com/shop/added.php?cat=0&productid=16187&amount=1&page=0
Not all of the products have had their upselling options set up yet so that will be done in the next day or so just before we launch.

everything will have an upsold product so there won't be a need for an IF statement.

lash 01-05-2010 05:27 PM

Re: EZUPSELL 3 column display
 
I am bumping this one. How to make a 3 column display for version 4.1.9 with prices and add to cart and perhaps even some description?

I tried everything described in this thread and then some but I can╢t make it work. Anyone that can assist?

Jon 01-06-2010 07:30 AM

Re: EZUPSELL 3 column display
 
ezUpsell for X-Cart has been updated and is now compatible with x-cart 3.5, 4.0, 4.1, 4.2 and 4.3.


As part of the upgrade we've also made the following updates:
  • Updated Continue and Checkout arrows with a more modern look.
  • Functions on both "Buy Now" and "Add to Cart" buttons.
  • "Continue" directs to exact previous page, whether it be the home page, search results, product page, category etc.
  • Displays upselling products with the same format as product listings complete with "Buy Now" buttons when enabled.
  • Added an On/Off toogle in the x-cart admin -> modules section.
To view product details and view a screenshot, visit ezUpsell for X-Cart.


To upgrade please contact our support desk.

lash 01-06-2010 08:09 PM

Re: EZUPSELL 3 column display
 
Thanks, it works like a charm and looks great! One suggestion to future releases is that perhaps you could consider adding short description to the product that has been added, just like it is in the cart. Just in case some customers wants a fast glance at what they just added. But great stuff with descriptions, prices and add to cart function for the uppselling products!

2coolbaby 03-02-2010 07:20 PM

Re: EZUPSELL 3 column display
 
I have the ezupsell and am trying to get this to work. First, the product and saying You have added etc... is not coming up centered. It is to the left of the column.

I also cannot get the Add to Cart buttons. Would like the description, but I can do without it.

The $config.Appearance.products_per_row assign= in products._t.tpl shows up all over the place. I probably have 6 or 7 instances of it as part of other code.

I am not sure which template should have the following you referred to:

{*** Uncomment it if you need 'Buy Now' button *** {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} *** Uncomment it if you need 'Buy Now' button ***}

I have Buy Now buttons configured in my entire store, so I don▓t know why it doesn▓t show up here, unless it needs to be called in and it isn▓t in the code you provided to get multi columns. I am using 3.

Jon 03-03-2010 07:41 AM

Re: EZUPSELL 3 column display
 
If you upgrade to the latest version ezUpsell it includes these features by default.


All times are GMT -8. The time now is 08:09 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.