Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 3rd, 2012, 09:50 AM
shopucfnation shopucfnation is offline
 
Join Date: Nov 2011
Posts: 2
Default Custom Widget Problems

Hey all,

We're having some trouble with the widget views on our homepage. We created several custom widget views and put them in the sidebar of our Wordpress site.

However, no matter what template we use for each of them, the images come through in their natural size and impair the structure of the columns we have set up.

Please take a look at http://lanceem.com at the section that lists the 4 columns of: Featured Products (default products widget), Sale Items (custom widget), Hot Products (custom widget), and Recently Viewed Products (custom widget) to see this problem in the wild.

You will notice that the default widget (on the left) is fine and the custom ones we made are generating the problems.

PS - Similar, but somewhat unrelated, you might notice that we have some products that repeat in each row. How do we stop that from happening? We also wouldn't mind shortening the length of each column, but the widget settings don't seem to be abiding by our changes.

Store ID: shopucfnation
Website URL: http://lanceem.com
URL to page in question: http://lanceem.com

Thanks in advance for the help and guidance!

-Logan
  #2  
Old October 3rd, 2012, 10:15 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Try adding the CSS ID wdgt_pl to your custom widgets here:

The Factory > Your Store > VIEWS > CUSTOM VIEWS > Sale Items > View menu > View Properties > Custom CSS ID

The Factory > Your Store > VIEWS > CUSTOM VIEWS > Hot Products > View menu > View Properties > Custom CSS ID

The Factory > Your Store > VIEWS > CUSTOM VIEWS > Recently Viewed Products > View menu > View Properties > Custom CSS ID

Also, change the Widget name (not the Widget title) to something other than Sale Items here: The Factory > Your Store > VIEWS > CUSTOM VIEWS > Sale Items > View menu > View Properties > Widget name

The title "Sale Items" is already in use by another view.

Lastly, the reason you are seeing products in duplicate and triplicate is because you have duplicated the template code in your views. For example, in your Sale Items view you have this:

HTML Code:
<div class="pl">
  [product.each]
  <div class="t1 col4">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="t1 col1">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="t1 col4">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="t1 col1">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="t1 col2">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="t1 col4">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="t1 col1">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dfblack dflarge">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [product.end]
  <div class="clearingdiv"> </div>
</div><div class="pl">
  [product.each]
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.thumbnail tag='1']</a></div>
    <div class="prc">[product.currency mode="sign"][product.price]</div>
    <div class="btns">
      <a href="[product.link]" title="View [product.name]" class="dfbutton dforange dfmedium dfrounded">more details</a>
    </div>
  </div>
  [product.end]
</div>
But it only needs to be this:
HTML Code:
<div class="pl">
  [product.each]
  <div class="t1 col4">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details [product.name]" class="dfbutton dforange dfmedium">Details</a>
    <a href="[product.url direct='0']" title="Buy [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Buy</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div>
Eric
  #3  
Old October 3rd, 2012, 10:33 AM
shopucfnation shopucfnation is offline
 
Join Date: Nov 2011
Posts: 2
Default

Wow! That was a simple fix.

Thanks so much for the detailed response, Eric!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intergrate search widget of the shop within website search widget? daniel_28 Questions 1 August 9th, 2012 07:35 AM
Widget Problems camseo Problems 6 August 3rd, 2012 09:26 PM
DFR problems sylviathewitch Problems 2 August 27th, 2011 07:11 AM
iThemes & Widget problems oconnor Problems 2 May 5th, 2011 09:05 AM
URL problems macfink Problems 2 March 21st, 2011 09:51 AM


All times are GMT -5. The time now is 05:25 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.