Product Price CSS

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 6 months ago #48940

I don't know what the problem is.

I've added for you the code:
$app =& JFactory::getApplication();
$app->setUserState( HIKASHOP_COMPONENT.'.currency_id', 4 );

at the beginning of the file "cart" of the view "product" via the menu Display->Views so that it forces the currency to GBP.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 6 months ago #49391

nicolas wrote: I don't know what the problem is.

I've added for you the code:
$app =& JFactory::getApplication();
$app->setUserState( HIKASHOP_COMPONENT.'.currency_id', 4 );

at the beginning of the file "cart" of the view "product" via the menu Display->Views so that it forces the currency to GBP.


Brilliant thank you!

is there anyway to have a redirect link to an article when using the cash on delivery option, i cant find a box to put our redirect URL in

also i cannot get google analytics to monitor sales. i imputed my analytics id with the correct currency, and purchased items weeks ago and nothing shows up in google, any way to fix this

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 6 months ago #49433

There is no redirect URL for the collect on delivery payment plugin.
You would have to edit the file plugins/hikashoppayment/collectondelivery_end.php and add the code:

<?php
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration("do_nothing( function() {window.location='http://mywebsite.com/myarticlelink'});");
at the end.


Only new products sales will be in Google analytics. It takes one or two days usually.
Did you publish the plugin ?
Did you set your google analytics account number as explained here ?
www.hikashop.com/en/support/documentatio...oogle-analytics.html
Note that the account number is different than the username you're using to connect to google analytics.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 6 months ago #49725

nicolas wrote: There is no redirect URL for the collect on delivery payment plugin.
You would have to edit the file plugins/hikashoppayment/collectondelivery_end.php and add the code:

<?php
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration("do_nothing( function() {window.location='http://mywebsite.com/myarticlelink'});");
at the end.


Only new products sales will be in Google analytics. It takes one or two days usually.
Did you publish the plugin ?
Did you set your google analytics account number as explained here ?
www.hikashop.com/en/support/documentatio...oogle-analytics.html
Note that the account number is different than the username you're using to connect to google analytics.


okay i shall add that code thank you

yes i have set it up following the guide above, i used my UA - xxxxx - x username and set the currency to GBP

in previous post you helped us ensure the description was displayed when changing characteristic in product view. this works, a description is shown, however it is not the description for that characteristic. No matter what characteristic i choose it will only display the previous characteristic description.

could you please look at this?

regards chris

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 6 months ago #49837

Is the status of your website profile active in google analytics ? If not, please activate it.
Do you have javascript errors on your website front end ?
What payment methods are you using ?


The modifications I gave you for the product description was specifically to remove the description switching from one variant to another when you switched the characteristic dropdowns.
If you revert eh modifications it will do what you want.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 6 months ago #50048

nicolas wrote: Is the status of your website profile active in google analytics ? If not, please activate it.
Do you have javascript errors on your website front end ?
What payment methods are you using ?


The modifications I gave you for the product description was specifically to remove the description switching from one variant to another when you switched the characteristic dropdowns.
If you revert eh modifications it will do what you want.


The analytics has been set up as a e commerce store, it has also been setup and it says it is trackking and has been tracking traffic fine,

Pyament methods are paypal, cash on collection

I checked our error log on the domain c panel and only have PHP errors relating to mod_cart.php

with regards to the removing the code. When changing the characteristic, the description disapears, you gave me the code which obviosuly stopped the description changing, so when reverting the code back to what it was changing the characteristic again now makes the description disapear.
do you have a solution that does not make the characteristc discription disapear but and changes the description as it shoud>

when liking a product on facebook, the product image is not displayed on my facebook wall, the text displays and it links to the product but does not display the image, i have removed gzip comression and followed your guides but no luck

Last edit: 12 years 6 months ago by pockettechuk.

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 6 months ago #50107

The description should not disappear when changing the characteristics.
The code modification I gave you removes the variants description so that the description is not updated, thus you don't have the possibility to have the description disappear. But you also can't have a dynamic description.
Could you give a link to the product page with the description being removed when the characteristic is changed so that I can see that more closely ?

For the facebook image, try to install that plugin:

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 5 months ago #50150

nicolas wrote: The description should not disappear when changing the characteristics.
The code modification I gave you removes the variants description so that the description is not updated, thus you don't have the possibility to have the description disappear. But you also can't have a dynamic description.
Could you give a link to the product page with the description being removed when the characteristic is changed so that I can see that more closely ?

For the facebook image, try to install that plugin:


Google analytics still does not work, did you have chance to look at that?

here is a link to a product where the description disapears when changing the characteristic www.pocket-tech.co.uk/shop/Product/216-colour-mid-frame.html

i installed that plugin, and it said this enables you to have a facebook like link, but it still does not show a picture on my facebook wall when i like it, should i have done something else?

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 5 months ago #50575

pockettechuk wrote:

nicolas wrote: The description should not disappear when changing the characteristics.
The code modification I gave you removes the variants description so that the description is not updated, thus you don't have the possibility to have the description disappear. But you also can't have a dynamic description.
Could you give a link to the product page with the description being removed when the characteristic is changed so that I can see that more closely ?

For the facebook image, try to install that plugin:


Google analytics still does not work, did you have chance to look at that?

here is a link to a product where the description disapears when changing the characteristic www.pocket-tech.co.uk/shop/Product/216-colour-mid-frame.html

i installed that plugin, and it said this enables you to have a facebook like link, but it still does not show a picture on my facebook wall when i like it, should i have done something else?


any luck with this stuff? its really getting annoying now :(

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 5 months ago #50669

Regarding the image for facebook, it seems that you change the "upload folder" option in the Files tab of the configuration, right ?
What did you put there ? It must be related to the problem you're having.

Regarding the Google analytics setup, I wouldn't be able to give you more advices... I need to look at your website and GA account settings to tell you what's wrong. Could you provide such accesses ?

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 5 months ago #50792

nicolas wrote: Regarding the image for facebook, it seems that you change the "upload folder" option in the Files tab of the configuration, right ?
What did you put there ? It must be related to the problem you're having.

Regarding the Google analytics setup, I wouldn't be able to give you more advices... I need to look at your website and GA account settings to tell you what's wrong. Could you provide such accesses ?


I have not changed the upload file

it is currently media/com_hikashop/upload/ and media/com_hikashop/upload/safe

i would appreciate if you could do it via the backend access i provided you in a support ticket just a second ago.

We need the facebook plugin
Google analytics
Characteristic descriptions ( www.pocket-tech.co.uk/shop/Product/216-colour-mid-frame.html )

looked at, if you could do this via the backend would really appreciate as we canot really use the website to its full potential until this is done

really apprciate this

chris

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 5 months ago #51021

I checked your website.

Concerning the facebook image, the problem comes from the suhosin php module that you have on your hosting I think. It prevents HikaShop from saving all the options of the configuration on your website. You should ask your hosting to increase the suhosin.post.max_varsoption to 500 and it should then work.
In the mean time I've uploaded a new version of the social network plugin which uses the default folder path is none is in the configuration.

Regarding the GA plugin, it was not configured properly. You had the same currency defined several times with worng information. I've changed it for you. It should now work better.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 5 months ago #51029

nicolas wrote: I checked your website.

Concerning the facebook image, the problem comes from the suhosin php module that you have on your hosting I think. It prevents HikaShop from saving all the options of the configuration on your website. You should ask your hosting to increase the suhosin.post.max_varsoption to 500 and it should then work.
In the mean time I've uploaded a new version of the social network plugin which uses the default folder path is none is in the configuration.

Regarding the GA plugin, it was not configured properly. You had the same currency defined several times with worng information. I've changed it for you. It should now work better.


So sorry about the GA Plugin

Did u manage to have a look at the characteristics problem?

I have opened a ticket with my hoster, but apparently they done use suhosin they use PHPexec, would that do the same thing?

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 5 months ago #51150

I looked at it. It's working now.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
12 years 5 months ago #51345

nicolas wrote: I looked at it. It's working now.


thank you but unfortunatley its still not fixed, the description does not disapear when the characteristic is changed, but the description does not change when you change the characteristed which is a big problem for us

Are you able to have another look?

pocket-tech.co.uk/shop/Product/15-colour-change.html

is an example page, the text should say different colours

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
12 years 5 months ago #51455

That's because there is a div missing in your show_tabular custom view file.
I've added it and it's working now.

Please Log in or Create an account to join the conversation.

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 8 months ago #93661

hi Nicolas,

Normaly all products works fine! But now we saw that the product discription disapear in the product page. This when the second charateristic was select. The discrition is visable in the product category list.
When we put the discription in the "manage variants" pages its normaly visable.

see the pictures,

best regards,

Marius

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13354
  • MODERATOR
11 years 8 months ago #94002

Hi,

It's probably because of the modifications that you made in the "show_default view file.
I would recommend you to check your changes in there.

I might be able to give more precision on the problem if you can give a direct link to that product page so that I can look at the HTML of the page with firebug.

Please Log in or Create an account to join the conversation.

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 8 months ago #94065

hi Nicolas,

Maybe you can find it. here is the link:
new.lebasport.nl/index.php/product-categ...ima-robusto-training

thanks,

best regards,

Marius

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #94170

Hi,

On the link given, the description is displayed.
When I select a characteristic it's still displayed.

I tried with a random product and it's working too.

So, have you solved your problem ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.111 seconds
Powered by Kunena Forum