Advanced Search

Search Results (Searched for: )

18 Jul 2016 14:22

where is user inbox?

Category: Market: How to?

can i use uddeim for this?

thanks
19 Jul 2016 06:10

where is hikashop_add_wishlist

Category: Product & Category Display

i already took out the override for the button but still not working.

where can i get a default copy of the file product / listing_img_desc.php and where can i place it to test the original file?

Or clicking the remove customization button be enough?

thanks
19 Jul 2016 06:29

temporary checkout redirect

Category: Checkout

hi

Its working .

Anothe question of mine. How can u disable checkout for products or suppliers based on a custom field.

Example:

custom field = allow checkout = yes button
Do not Allow = No button

So if do not allow is checked / ticked it will be redirected to the page i created.

thanks
19 Jul 2016 07:34

how to add tabs on default view product page

Category: Product & Category Display

hi guys

i did not make a new thread as my question is related to the custom fields i created.

i added variants to my product. Variants are ok as can be seen here


Part of the message is hidden for the guests. Please log in or register to see it.


The problem is that when clicking on the variants all custom codes that i hid appears.

BEFORE




AFTER



Can i add something to the existing codes?

thanks
20 Jul 2016 12:29

where is hikashop_add_wishlist

Category: Product & Category Display

@lousy thanks

your inputs helped me out understand hika better.

-Everything seems fine, but changing to protostar crashed the site. The best way for me to check was to rename the override file.

@nicolas

you were right. i had to redo all custom work to the new path.

The thing is, everytime a patch or update has been performed, do i need to redo all my custom work?

thanks
20 Jul 2016 19:42

how to add tabs on default view product page

Category: Product & Category Display

its working now

but i realize that there is a difference in the codes this is from product / show.php
foreach ($this->fields as $fieldName => $oneExtraField) {
				if(empty($variant->$fieldName) && !empty($this->element->main->$fieldName)){
					$variant->$fieldName = $this->element->main->$fieldName;
				}
				if(!empty($variant->$fieldName))
					$variant->$fieldName = trim($variant->$fieldName);
				if(!empty($variant->$fieldName) || (isset($variant->$fieldName) && $variant->$fieldName === '0')) {
?>

the code from show_block_custom_main.php has '$value = '';' right after the bracket as seen below.
foreach ($this->fields as $fieldName => $oneExtraField) {
	$value = '';

do i have to keep it or not?

thanks again
22 Jul 2016 18:35

Where and how to switch positions?

Category: Checkout

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

i would like to switch the position of hikashop_small_cart_checkout_link and the hikashop_cart_button. The text is "proceed to checkout".

Also would it be ok to do so?




thanks
24 Jul 2016 20:44

how to disable add to cart button on certain field

Category: Product & Category Display

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

how can i disable the add to cart field based on a custom field? and where exactly to place it? i have seeb add_to_cart_listing.php but not sure if this is the right one.

Example:

custom_field_add2cart = on =1
custom_field_add2cart = off =0

<?php
if($this->row->custom_field == 1)
{
$this->params->set('add_to_cart', 0);
}
else
{
$this->params->set('add_to_cart',$oldAddToCartParameter);
}

thanks
26 Jul 2016 17:59

how to disable add to cart button on certain field

Category: Product & Category Display

hi

its working.

but the other way around. if i set it to 1 = yes = $this->params->set('catalogue', 1); = add to cart is disabled

if i set it to 0 = no = $this->params->set('catalogue', 0); = add to cart is enabled

this is the behavior of the code above. is that correct?

thanks
27 Jul 2016 07:29

how to disable add to cart button on certain field

Category: Product & Category Display

the code removes both add to cart button and the add to wishlist.

how can we retain add to wish list.

i just want to remove add to cart.

Also how do i update all the values of the other products that has been created before. can i use mass action?

this is my settings. I got it to work but not all products are affected. Do i need to increase the limatations field?





thanks
28 Jul 2016 18:54

where is user inbox?

Category: Market: How to?

hi

i have been trying to integrate uddeim with hikashop.

my problem is that i cant get the right code to get the `tablename_users`.`id` and not the `tablename_hikamarket_vendor`.`vendor_id` for the (url)query string.

url query string example:

ndex.php?option=com_uddeim&task=new&recip=userid

can you please help me get the userid from product / show_default.php and listing_img_desc.php?

thanks
28 Jul 2016 18:56

how to pass data to a different url

Category: Customers

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

(i dont know where to post this so i made one for hikashop)

i have been trying to integrate uddeim with hikashop.

my problem is that i cant get the right code to get the `tablename_users`.`id` and not the `tablename_hikamarket_vendor`.`vendor_id` for the (url)query string.

url query string example:

ndex.php?option=com_uddeim&task=new&recip=userid

can you please help me get the userid from product / show_default.php and listing_img_desc.php?

thanks
28 Jul 2016 19:14

how to add search to vendor list?

Category: Market: How to?

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

how do i add a search field on the vendor list or vendors listing?

also how can i make a text filter that will search for vendors only?

thanks
29 Jul 2016 07:53

how to add search to vendor list?

Category: Market: How to?

thank you jerome

so does this mean there is no search for the vendors in the front end?

something like this?



is there a code i can add so that the vendor name be added to the options for the filters?

thanks
29 Jul 2016 20:17

how to hide fields in the listing?

Category: Market: How to?

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

how do i hide certain fields in the vendor listings? but not disable it

example is the company profile or company_profile_vendor.

my settings are as follows.



but it still appears in the front end.



thanks
29 Jul 2016 20:58

how to pass data to a different url

Category: Customers

thank you nicolas.

You are right! i want to add a button to the product page that will get the joomla user id of the vendor.

example

<a class="btn btn-primary" href="/index.php?option=com_uddeim&task=new&recip={user_cms_id)" role="button">Inquire About This Product</a>.

user_cms_id = this shout be the cms or joomla user id.

thanks again.
30 Jul 2016 18:46

how to pass data to a different url

Category: Customers

hi nicolas,

i'have tried to check the results of the code and see if it will produce the user id but i was not successful.
am i doing it right?

tested show_default.php
1. <?php
$userClass = hikashop_get('class.user');
$user = $userClass->get($vendor->vendor_admin_id);
echo "<a href='$user->user_cms_id'>test</a>";
?>
when clicked redirect to http://home/store/product/1-pink-sandals

2. <a href="<?php $userClass = hikashop_get('class.user');
$user = $userClass->get($vendor->vendor_admin_id); echo $user->user_cms_id;?>"> Link </a>
when clicked redirect to home page

HikaMarket - vendormarket / showcontainer_default.php both are errors
1.
<?php
$vendorClass = hikamarket_get('class.vendor');
$vendor = $vendorClass->get($this->row->product_vendor_id,'vendor');
echo "<a href='$vendor'>test</a>";
?>
2.
<?php
$vendorClass = hikamarket_get('class.vendor');
$vendor = $vendorClass->get($this->element->product_vendor_id,'vendor');
echo "<a href='$vendor'>test</a>";
?>
31 Jul 2016 20:33

how to pass data to a different url

Category: Customers

thanks nicolas for your patience.

I think i was not clear on my question. i was already successful with adding the joomla user id manually to my uddeim link. But it would be nice to get it using a button that will query the joomla user id.

My problem is how to get the joomla user id or user_cms_id from the product page and vendor page.

Everytime i execute the code you have given nothing happens. i used a different code using PHP inside html. i did not post it since you have given me a better one.

Now, to check if i am doing the code right i added the button to the code you have given me. i have posted this code below to check if it will echo the user id only and not to redirect to uddeim. But nothing happens.
<?php
$userClass = hikashop_get('class.user');
$user = $userClass->get($vendor->vendor_admin_id);
echo "<a href='$user->user_cms_id'>test</a>";
?>

Anyway, thanks again to your code but its still not working. i dont see a number or any user id next to the equal sign.
This is the code i used.
 <?php
      $userClass = hikashop_get('class.user');
      $user = $userClass->get($vendor->vendor_admin_id);
      echo '<a href="/index.php?option=com_uddeim&task=new&recip='.$user->user_cms_id.'">test</a>';
      ?>

The url below is the result. It is still empy
http://.../index.php?option=com_uddeim&task=new&recip=

Thanks again for you patience.
01 Aug 2016 18:09

how to disable add to cart button on certain field

Category: Product & Category Display

hi

1. it doesn't work if i try to replace this code
$this->params->set('catalogue', 1);
with this one
$this->row->quantity = 0;

i cant set the stock to 0 because my site is a multivendor site. Vendors have control over the stock of their products.

thanks
01 Aug 2016 19:11

how to pass data to a different url

Category: Customers

thanks again

i tested the codes below but both of them failed to load. I tried to substitute the one with the comment

<?php
$vendorClass = hikamarket_get('class.vendor');
$vendor = $vendorClass->get($this->row->product_vendor_id,'vendor');
$userClass = hikashop_get('class.user');
$user = $userClass->get($vendor->vendor_admin_id);
echo '<a href="/index.php?option=com_uddeim&task=new&recip='.$user->user_cms_id.'">test</a>';
?>

and

<?php
$vendorClass = hikamarket_get('class.vendor');
$vendor = $vendorClass->get($this->element->product_vendor_id,'vendor');
$userClass = hikashop_get('class.user');
$user = $userClass->get($vendor->vendor_admin_id);
echo '<a href="/index.php?option=com_uddeim&task=new&recip='.$user->user_cms_id.'">test</a>';
?>



this is the error. Enabled debug

Fatal error: Call to undefined function hikamarket_get() in /home/mayari79/public_html/templates/purity_iii/html/com_hikashop/product/show_default.php on line 206

thanks so much
Displaying 101 - 120 out of 490 results.
Time to create page: 1.139 seconds
Powered by Kunena Forum