Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Help with Add-on Module

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-29-2012, 01:42 PM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Help with Add-on Module

We bought an add-on module to add a "notify me when back in stock" button for items that were out of stock.

However the module is wreaking havoc with our display. Our product is visual in nature and we need to show as many items on the screen as possible. At a minimum we need three columns, and four is better. Luckily our items are also tall and skinny so the images fit nicely even with the four columns.

However when we activate this module it sets the cell size of each item to a hard number, instead of letting it be dynamically generated based on the width of the web page.

I have no idea how to figure out where this is being done so I can fix it, or even if I can fix it as the php code of the actual module pages is encrypted.

Below is an image showing the problem. It obviously was originally created for the module company. I have sent them several increasingly upset emails but haven't received a response so am trying here as a last resort.

http://mk.shahrazad.net/example.jpg
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #2  
Old 02-29-2012, 11:16 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Help with Add-on Module

Your images don't show the full page - so what's happening below the image - is there a button showing that says something like "Notify me when back in stock"?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 03-01-2012, 06:02 AM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: Help with Add-on Module

That's what the text originally said. It was so long the button took up half the page and only 2 columns would fit as a result. I changed the text to "Email When In" which is short enough that it shouldn't force the cell to be wider. Picture showing this is below:

http://mk.shahrazad.net/backinstock.JPG
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #4  
Old 03-01-2012, 06:52 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Help with Add-on Module

Can you post (or PM or email) a link to that page?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 03-01-2012, 07:19 AM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: Help with Add-on Module

This is the link to the store. You need it as the store is closed. We were supposed to open today, but this is holding us up.

http://www.ninjapolish.com/home.php?shopkey=1967

This is that page I posted above:

http://www.ninjapolish.com/home.php?cat=278

Thanks for your help!
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #6  
Old 03-01-2012, 07:27 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Help with Add-on Module

How many products per row are you trying to achieve?
What browser are you working with?
It doesn't look like your screenshots in Firefox for me.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #7  
Old 03-01-2012, 07:35 AM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: Help with Add-on Module

It works perfectly in Firefox. It does not work in Chrome, IE, Safari or Chromium.

We want 4 columns of items.

There must be some css that Firefox ignores and all the other browsers don't.
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #8  
Old 03-01-2012, 08:02 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Help with Add-on Module

hmm, it's a tricky one - but I don't think that the mod is actually causing the problem, rather is a symptom.

As far as I'm aware, ALL that the mod is doing, is calling a standard X-Cart button in the buy_now template. There is nothing else going on - simply it adds a button after the out of stock message, nothing more.

What you could try, is in your main.css - look for

.products .buy-now {
  • margin: 10px 0 0;
}

and change it to:

.products .buy-now {
  • margin: 10px 0 0;
  • width: 150px;
}

In otherwords, define a width to that box. You might want to adjust the value of the width.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote

The following user thanks pauldodman for this useful post:
Marcy (03-01-2012)
  #9  
Old 03-01-2012, 08:17 AM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: Help with Add-on Module

A thousand thanks!!! That fixed it. What a total relief.
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #10  
Old 03-01-2012, 08:22 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Help with Add-on Module

Great, good luck with the opening!
Don't forget to get some SEO going before you go too far - give yourself the best chance of success.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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


All times are GMT -8. The time now is 07:41 AM.

   

 
X-Cart forums © 2001-2020