Skip to main content

after update I get error on add product price

More
11 years 11 months ago #181755 by 888
-- HikaShop version -- : 2.3.4
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.14-1

hi

after update to 1.5.1 I get error on add product price, only on front end admin back is ok

/product/index.php?option=com_hikamarket&tmpl=component&ctrl=product&task=getprice&price=1500&product_id=0&tax_id=789&conversion=0
Request Method:GET
Status Code:404 Not Found

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

More
11 years 11 months ago #181759 by 888
if i disable search engine friendly urls in joomla its work

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

More
11 years 11 months ago #181762 by Jerome
Hi,

Thanks for the report.
It is strange that the url is "/product/index.php" ; I'll investigate in order to see what can be the source of this problem.
From which version did you update ? (what was your previous version)

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
11 years 11 months ago #181765 by 888
Hi Jerome
I did update from 1.5.0 to 1.5.1

http://my_web.com/my_menu/product/index.php?option=com_hikamarket&tmp…ctrl=product&task=getprice&price=1200&product_id=0&tax_id=790&conversion=0 404 (Not Found)

as I said earlier it works if I disable the friendly urls in joomla and looks like

http://my_web.com/index.php?option=com_hikamarket&ctrl=product&task=add&Itemid=997 (friendly urls OFF) working

http://my_web.com/my-shop/product/add (friendly urls ON) not working

of course I want to use friendly urls ON

thanks in advance

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

More
11 years 11 months ago - 11 years 11 months ago #181774 by Jerome
Hi,

The problem should exist before HikaMarket 1.5.1
In the view "productmarket | from_price", please replace
Code:
var url = 'index.php?option=com_hikamarket&tmpl=component&ctrl=product&task=getprice&price='+price+'&product_id=<?php echo $this->product->product_id; ?>&tax_id='+tax_id+'&conversion='+conversion;
By
Code:
var url = '<?php echo str_replace('\'', '\\\'', hikamarket::completeLink('product&task=getprice&price={PRICE}&product_id='.$this->product->product_id.'&tax_id={TAXID}&conversion={CONVERSION}', true, false, true)); ?>'; url = url.replace('{PRICE}', price).replace('{TAXID}', tax_id).replace('{CONVERSION}', conversion);
It should provide a good SEF url.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 11 years 11 months ago by Jerome. Reason: js fix

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

More
11 years 11 months ago #181800 by 888
hi i GET
Uncaught ReferenceError: converion is not definedadd:841 window.productMgr.updatePriceadd:716 onchange

No tax calculates working in price

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

More
11 years 11 months ago #181808 by Jerome
Hi,

I replaced "converion" into "conversion" in my previous post :)

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: 888

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

More
11 years 10 months ago #181828 by 888
its working now :)

thanks

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

Moderators: Obsidev
Time to create page: 0.175 seconds
Powered by Kunena Forum