Jump to content

Need help with Combinations / Attributes - not working in front office???


Recommended Posts

Hello,
I am loving Prestashop, and as this is my first time doing something like this it is taking me a while to figure out all the bits and pieces. I don't think I've done too bad - after a lot of reading (on here mainly) I manage to work things outs.

The only thing I haven't been able to get working is the combinations / attributes side of things.

I make badges, magnets, etc and how I'd like to set up my shop is by having my "designs" listed, and customers then choose which product (badge, magnet, etc) and which size (i do 4 sizes) they want. So I'd really love to get this feature working.

I have searched for answers, but have yet to find anything.
I have made a "test" product you can view here: http://www.badgeorama.com/shop/product.php?id_product=12

I've tried it several different ways but nothing seems to work. Can anyone shed some light on what I may be doing wrong?

Thanks in advance,
Kristal

Link to comment
Share on other sites

Hello Kristal,

First set up your group an attributes catalog>attributes an groups, ad attribute group. After you made the attribute group you can fill it with attributes. Click on Add attribute (eg 20 cm) en select the group you have made (size). Now the size(20 CM) is connected to the group size.

Go to catalog select your product en click on 3 combinations tab, select the group(size) teh attribute(20cm) and click on add, now the attribute is connected to the product. Scroll the page down and you will see it there. And so on for the other attributes.

I hope this will help you..

Regards,

Adnetto

Link to comment
Share on other sites

Hi Adnetto,

I have done those steps. If you look at my test product you can see they come up, but they don't affect the price - and no matter which combination you add to the cart it comes up as the default (1 inch badge) So something is wrong somewhere.

I know there are people on here who have had the same problem and fixed it, but they haven't posted how they fixed it.

Thank you for replying though :)

My test product: http://www.badgeorama.com/shop/product.php?id_product=12

Kristal

Link to comment
Share on other sites

Hi Kristal,

It works for me. Click on action button of the attribute at the bottom of catalog/combinations. Nothing seems to happen but that`s not true, you have selected one of the attributes. Then select impact on price "increase" then fil in the increase ammount. And last click on the button "modify this attribute combination", the result should be an increase of your price.

If that not works check your product.php or .js because you have an error on your page.

Foutdetails webpagina

Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Tijdstempel: Sat, 12 Sep 2009 19:07:26 UTC


Bericht: Syntaxisfout
Regel: 107
Teken: 39
Code: 0
URI: http://www.badgeorama.com/shop/product.php?id_product=12


Bericht: Syntaxisfout
Regel: 231
Teken: 20
Code: 0
URI: http://www.badgeorama.com/shop/product.php?id_product=12


Bericht: 'oosHookJsCodeFunctions' not defined
Regel: 370
Teken: 1
Code: 0
URI: http://www.badgeorama.com/shop/product.php?id_product=12


Bericht: 'oosHookJsCodeFunctions' is niet gedefinieerd
Regel: 19
Teken: 18
Code: 0
URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.js


Bericht: 'oosHookJsCodeFunctions' is niet gedefinieerd
Regel: 19
Teken: 18
Code: 0
URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.js


Bericht: 'oosHookJsCodeFunctions' not defined
Regel: 19
Teken: 18
Code: 0
URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.js


Bericht: 'oosHookJsCodeFunctions' not defined
Regel: 19
Teken: 18
Code: 0
URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.js

Link to comment
Share on other sites

I don't know what I'm supposed to look for in my product.php? As far as I can tell I have done all the steps I need to do to add the attributes. They show up on the product it just doesn't seem to want to adjust the price. It's as though it's showing they are unavailable, but I have changed the quantity and everything.

I think I'll just give up.

Thanks for replying.

Kristal

Link to comment
Share on other sites

Hi Kristal,

What version of Prestashop are you running? I have the same problem since I upgraded to version 1.2.3.0. It all worked fine in version 1.2.0.8. I'm beginning to suspect a bug has been introduced in version 1.2.3.0. Could you please let me know?

Thanks,
Theo

Link to comment
Share on other sites

I recommend if you just use one type of attribute...
For example :
In your case, you have size and product.
Rather define 2 kind of attribute, you only use one.
So your attribute list will be like this :
Badge 1 inch
Badge 1.5 inch
Badge 2.25 inch
Badge 3 inch
Keyring 1 inch
.
.
and so on.

It will be a long list tough.

Link to comment
Share on other sites

Hi all,

As I stated earlier; I have the same problem here. I had it all working nicely when running version 1.2.0.8. Then I upgraded to 1.2.3 because I wanted to have the option for 1.1 compatible themes. Now I have the same problem as Kristal describes. Yesterday I tried some combinations in the Prestashop demoshop (here: http://www.prestashop.com/en/showcase_demo/) and it worked like a charm. Maybe Kristal can try that too?

But since both Kristal and Adnetto tried with the same version (1.2.2) and it worked for Adnetto but not for Kristal, it seems like it's not version related.

Can it be upgrade related? Adnetto: did you try it with 1.2.2 after an upgrade? Or was it a fresh install? And what about the version Kristal is using? Fresh install or upgrade?

I need a solution for this, otherwise I can't go live with the shop.

Hope we can Sherlock our way to a solution.

Cheers,
Theo

Link to comment
Share on other sites

Hi Theo,

I have tried it with a fresh install (V 1.2.2) and I'm now on an upgrade (V 1.2.3)

Ok I just tried through that demo site, and did everything EXACTLY like I've been doing on my site.....and it worked... of course!!
So now what? How am I supposed to know what's wrong on my end?? :down:

Link to comment
Share on other sites

Hi,

That's what I was suspecting. The demo site is running version 1.2.0.8 and both you and I are running version 1.2.3 from an upgrade. It seems something is going wrong when an upgrade took place.

Hopefully someone from the Prestashop team can have a look at this?

In the mean time the only possible solution I can think of is start again with a fresh install of 1.2.3, because others are stating that it can work with version 1.2.2 for instance.

I think we also need to report this as a bug.

If you are going to try with a fresh install before I do, please let me know if it worked. If I try it first I will let you know the results of course.

Thanks,
Theo

Link to comment
Share on other sites

A fresh 1.2.2 should work, otherwise check the permission settings on the server.

Write 777

/config
/upload
/download
/tools/smarty/compile
/sitemap.xml


Write 777 + underlying folders (recursive)

/img
/mails
/modules
/themes/prestashop/lang
/translations

To make the Home Text Editor work change the permission of the editorial.xml to (777 or 776)
Location: (modules/editorial/editorial.xml)
------------------

And perhaps the global setting in your htaccess file.
---------------

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]
RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]

# Catch 404 errors
ErrorDocument 404 /404.php
php_flag register_globals off

The 1 and 2 are hashes replaced by this forumsoftware

Succheck Adnetto

Link to comment
Share on other sites

Exactly my problem too :( I've gone from 1.2.08 to 1.3 yesterday and then upgrqaded to 1.4 today and its still not sorted :( I read somewhere that 1.4 sorted the problem. :(

Most of my stock is made to order, I have varying options for different products, I cant have *one* attribute* I need 3-5 of them per product! I would rather have more but it could not handle more than 1300 choices.. so I had to make even more products out of one product.. and now it jsut doesnt work atall!!

please please help us!!

for instance.. http://www.puddlekins.co.uk/shop/product.php?id_product=71 turned and top stiotched should chang ethe price by £2 .. silent nights/happy days tehres a three pound difference :(

Link to comment
Share on other sites

  • 2 weeks later...

This is really frustrating. Someone must have insight into what is going on here????
I upgraded to 1.2.4 and my Front Office attributes do not change pricing. I did a fresh install and with the test data the attributes work. When I change to my old database or even upload my old database into a new one the attributes stop working.

I have posted a bug a few days ago but no response. I really need some help with this!

Link to comment
Share on other sites

We had the same problem, but after some debug we resolved it.

Here is how:

Goto /themes/prestashop/product.tpl

open the file and goto line 35 out of 451

You should see the code as below :
var displayPrice = {$priceDisplay};

change this to
var displayPrice = 1 ; // {$priceDisplay};

Everything works fine for attributes and
combinations

Link to comment
Share on other sites

We had the same problem, but after some debug we resolved it.

Here is how:

Goto /themes/prestashop/product.tpl

open the file and goto line 35 out of 451

You should see the code as below :
var displayPrice = {$priceDisplay};

change this to
var displayPrice = 1 ; // {$priceDisplay};

Everything works fine for attributes and
combinations


Many thanx, problem by 1.2.4 solved

my + info:
- Tax exkludet
var displayPrice = 1


- Tax includet

var displayPrice = 2

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 months later...
  • 1 month later...

Goto /themes/prestashop/product.tpl

open the file and goto line 35 out of 451

You should see the code as below :
var displayPrice = {$priceDisplay};

change this to
var displayPrice = 1 ; // {$priceDisplay};


Thank you, saved me a major headache!
Link to comment
Share on other sites

×
×
  • Create New...